diff options
Diffstat (limited to 'usr.bin/truss/i386-fbsd.c')
-rw-r--r-- | usr.bin/truss/i386-fbsd.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.bin/truss/i386-fbsd.c b/usr.bin/truss/i386-fbsd.c index 463f475..065c90b 100644 --- a/usr.bin/truss/i386-fbsd.c +++ b/usr.bin/truss/i386-fbsd.c @@ -299,12 +299,7 @@ i386_syscall_exit(int pid, int syscall) { * but that complicates things considerably. */ - print_syscall(outfile, fsc.name, fsc.nargs, fsc.s_args); - if (errorp) { - fprintf(outfile, "errno %d '%s'\n", retval, strerror(retval)); - } else { - fprintf(outfile, "returns %d (0x%x)\n", retval, retval); - } + print_syscall_ret(outfile, fsc.name, fsc.nargs, fsc.s_args, errorp, retval); clear_fsc(); return; |