diff options
Diffstat (limited to 'testsuite/buildok')
-rwxr-xr-x | testsuite/buildok/syscall.stp | 6 |
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) } |