diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2004-01-07 14:27:30 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2004-01-07 14:27:30 +0000 |
commit | 6da7a0d11dc9ea0cb0514d442c9ca00684c6c89e (patch) | |
tree | d5544a8cf2b2b757975b54aafb549e205239f02e /usr.bin | |
parent | 7a85d4b65441bb1f28d567b1d687806640276c3a (diff) | |
download | FreeBSD-src-6da7a0d11dc9ea0cb0514d442c9ca00684c6c89e.zip FreeBSD-src-6da7a0d11dc9ea0cb0514d442c9ca00684c6c89e.tar.gz |
Fix a printf format warning.
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); } |