mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
Fix a printf format warning.
This commit is contained in:
parent
3b7f13a03b
commit
9b83b9f75c
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue