Fix printf format warning.

This commit is contained in:
jhb 2016-10-11 17:11:17 +00:00
parent 3e69022c3d
commit 56018805b8

View File

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