Fix a printf format warning.

This commit is contained in:
David Malone 2004-01-07 14:27:30 +00:00
parent 3b7f13a03b
commit 9b83b9f75c

View File

@ -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);
}