Fix printf format warning.
This commit is contained in:
parent
609b0fe966
commit
9ba323071d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=307060
@ -1924,9 +1924,9 @@ print_arg(struct syscall_args *sc, unsigned long *args, long *retval,
|
||||
cloudabi_filestat_t fsb;
|
||||
if (get_struct(pid, (void *)args[sc->offset], &fsb, sizeof(fsb))
|
||||
!= -1)
|
||||
fprintf(fp, "{ %s, %lu }",
|
||||
fprintf(fp, "{ %s, %ju }",
|
||||
xlookup(cloudabi_filetype, fsb.st_filetype),
|
||||
fsb.st_size);
|
||||
(uintmax_t)fsb.st_size);
|
||||
else
|
||||
fprintf(fp, "0x%lx", args[sc->offset]);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user