diff options
author | jhb <jhb@FreeBSD.org> | 2017-01-10 20:09:35 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2017-01-10 20:09:35 +0000 |
commit | 20f57463a4cc70abf6f54d548327cafedfe463df (patch) | |
tree | 1af98fed8e115f322993e19de41b37db6190f086 /usr.bin | |
parent | 12afd8c80139da9f0eb1fb6a2adb18466e32a90a (diff) | |
download | FreeBSD-src-20f57463a4cc70abf6f54d548327cafedfe463df.zip FreeBSD-src-20f57463a4cc70abf6f54d548327cafedfe463df.tar.gz |
MFC 307060: Fix printf format warning.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/truss/syscalls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/truss/syscalls.c b/usr.bin/truss/syscalls.c index 6a1e9b4..855f5d3 100644 --- a/usr.bin/truss/syscalls.c +++ b/usr.bin/truss/syscalls.c @@ -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; |