Fix a printf format warning.
This commit is contained in:
parent
3b7f13a03b
commit
9b83b9f75c
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user