diff options
Diffstat (limited to 'testsuite/semok/seven.stp')
-rwxr-xr-x | testsuite/semok/seven.stp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/testsuite/semok/seven.stp b/testsuite/semok/seven.stp index f0b248bd..2ceed4e8 100755 --- a/testsuite/semok/seven.stp +++ b/testsuite/semok/seven.stp @@ -2,7 +2,6 @@ global ar1, ar2 -function string:string (v:long) { } # to become a built-in function printk (s:string) { return 0 } # to become a built-in function search (key) @@ -18,7 +17,7 @@ probe begin /* syscall("zamboni") */ tgid=0 pid=0 tid=0 - ar2[tid] = string (tgid); + ar2[tid] = sprint (tgid); search (pid) } @@ -26,5 +25,5 @@ probe end { # for (key in ar2) if (key in ar2) - printk ("this: " . string (key) . " was " . ar2[key]) + printk ("this: " . sprint (key) . " was " . ar2[key]) } |