diff options
Diffstat (limited to 'usr.bin/truss/amd64-linux32.c')
-rw-r--r-- | usr.bin/truss/amd64-linux32.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/truss/amd64-linux32.c b/usr.bin/truss/amd64-linux32.c index ec7632b..d95c644 100644 --- a/usr.bin/truss/amd64-linux32.c +++ b/usr.bin/truss/amd64-linux32.c @@ -238,15 +238,12 @@ i386_linux_syscall_exit(int pid, int syscall) { } } } - print_syscall(outfile, lsc.name, lsc.nargs, lsc.s_args); if (errorp) { for (i = 0; i < sizeof(bsd_to_linux_errno) / sizeof(int); i++) if (retval == bsd_to_linux_errno[i]) break; - fprintf(outfile, "errno %d '%s'\n", retval, strerror(i)); - } else { - fprintf(outfile, "returns %d (0x%x)\n", retval, retval); } + print_syscall_ret(outfile, lsc.name, lsc.nargs, lsc.s_args, errorp, i); clear_lsc(); return; } |