diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/truss/syscalls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c index c9e5e75..0c1e62e 100644 --- a/usr.bin/truss/syscalls.c +++ b/usr.bin/truss/syscalls.c @@ -472,7 +472,7 @@ print_syscall_ret(struct trussinfo *trussinfo, const char *name, int nargs, { print_syscall(trussinfo, name, nargs, s_args); if (errorp) { - fprintf(trussinfo->outfile, " ERR#%d '%s'\n", retval, strerror(retval)); + fprintf(trussinfo->outfile, " ERR#%ld '%s'\n", retval, strerror(retval)); } else { fprintf(trussinfo->outfile, " = %ld (0x%lx)\n", retval, retval); } |