summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2011-05-12 19:10:00 +0000
committerimp <imp@FreeBSD.org>2011-05-12 19:10:00 +0000
commitcb5db6df7c679253c81348ca264f98b9f1caddee (patch)
treeb44f67847e0bb131787f52095bd54550bf11134e /usr.bin
parenta1c70169d3aabbb5138de3b3ff82df350505172d (diff)
downloadFreeBSD-src-cb5db6df7c679253c81348ca264f98b9f1caddee.zip
FreeBSD-src-cb5db6df7c679253c81348ca264f98b9f1caddee.tar.gz
uintmax_t is a better type here...
Submitted by: avg@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/fstat/fstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c
index f870210..531eef2 100644
--- a/usr.bin/fstat/fstat.c
+++ b/usr.bin/fstat/fstat.c
@@ -462,7 +462,7 @@ print_vnode_info(struct procstat *procstat, struct filestat *fst)
printf(" %6s", vn.vn_devname);
}
} else
- printf(" %6ju", (intmax_t)vn.vn_size);
+ printf(" %6ju", (uintmax_t)vn.vn_size);
print_access_flags(fst->fs_fflags);
}
OpenPOWER on IntegriCloud