summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok/syscall.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/buildok/syscall.stp')
-rwxr-xr-xtestsuite/buildok/syscall.stp6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/buildok/syscall.stp b/testsuite/buildok/syscall.stp
index a802cc97..82689eee 100755
--- a/testsuite/buildok/syscall.stp
+++ b/testsuite/buildok/syscall.stp
@@ -1,8 +1,8 @@
#! stap -up4
probe syscall.*, syscall.*.return {
- if (returnp)
- printf("%d\n", returnval())
+ if (retstr != "")
+ printf("%s\n", retstr)
else
- printf("%s (%s) = ", name, argstr)
+ printf("%s: %s (%s) = ", execname(), name, argstr)
}