summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjistone <jistone>2006-05-09 23:37:45 +0000
committerjistone <jistone>2006-05-09 23:37:45 +0000
commit5db55886abcbc480423dddf13762639705642e37 (patch)
treeaf26406ded6bf31fa90986c6a3d67e846a6d78da
parent44e69a2c6f7f2b305b426ad33f8c08a6bd0a60ab (diff)
downloadsystemtap-steved-5db55886abcbc480423dddf13762639705642e37.tar.gz
systemtap-steved-5db55886abcbc480423dddf13762639705642e37.tar.xz
systemtap-steved-5db55886abcbc480423dddf13762639705642e37.zip
spelling corrections
-rw-r--r--stap.1.in10
-rw-r--r--stapfuncs.5.in2
2 files changed, 6 insertions, 6 deletions
diff --git a/stap.1.in b/stap.1.in
index 361a211b..e4d53570 100644
--- a/stap.1.in
+++ b/stap.1.in
@@ -184,7 +184,7 @@ Integers are 64-bit signed quantities, although the parser also accepts
In addition, script arguments given at the end of the command line may
be expanded as literals. Use
.B $1 ... $<NN>
-for casting as a numberic literal and
+for casting as a numeric literal and
.B @1 ... @<NN>
for casting as string literal. These may be used in all contexts
where literals are accepted. Reference to an argument number beyond
@@ -218,7 +218,7 @@ performed by the glibc function
If, on the other hand, the first part is the identifier
.BR arch
to refer to the processor architecture, then the second part
-then the second part is one of the two string comparison operatorsn
+then the second part is one of the two string comparison operators
.BR == " or " != ,
and the third part is a string literal for matching it. This
comparison is simple string (in)equality.
@@ -301,9 +301,9 @@ or second STMT (zero).
.BR while " (EXP) STMT"
While integer-valued EXP evaluates to non-zero, execute STMT.
.TP
-.BR for " (EXP1; EXP2; EXP2) STMT"
-Execute EXP2 as initialization. While EXP1 is non-zero, execute
-STMT, then the iteration expression EXP1.
+.BR for " (EXP1; EXP2; EXP3) STMT"
+Execute EXP1 as initialization. While EXP2 is non-zero, execute
+STMT, then the iteration expression EXP3.
.TP
.BR foreach " (VAR " in " ARRAY) STMT"
Loop over each element of the named global array, assigning current
diff --git a/stapfuncs.5.in b/stapfuncs.5.in
index 4fc673e3..0bfac1b8 100644
--- a/stapfuncs.5.in
+++ b/stapfuncs.5.in
@@ -177,7 +177,7 @@ Return the symbolic string associated with the given error code, like
.PP
The queue_stats tapset provides functions that, given notifications of
elementary queuing events (wait, run, done), tracks averages such as
-queue lenghth, service and wait times, utilization. The following
+queue length, service and wait times, utilization. The following
three functions should be called from appropriate probes, in sequence.
.TP
qs_wait:unknown (qname:string)