summaryrefslogtreecommitdiffstats
path: root/stap.1.in
diff options
context:
space:
mode:
Diffstat (limited to 'stap.1.in')
-rw-r--r--stap.1.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/stap.1.in b/stap.1.in
index e4d53570..b191341d 100644
--- a/stap.1.in
+++ b/stap.1.in
@@ -464,7 +464,7 @@ functions. In the following example, the type inference engine need
only infer type type of arg2 (a string).
.SAMPLE
function thatfn:string (arg1:long, arg2) {
- return string(arg1) . arg2
+ return sprint(arg1) . arg2
}
.ESAMPLE
Functions may call others or themselves