diff options
author | pjd <pjd@FreeBSD.org> | 2005-01-08 17:19:56 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2005-01-08 17:19:56 +0000 |
commit | 08319f85fb7bb2d5a5d31a41885cabcd5c665233 (patch) | |
tree | 03a73a13c565bd9734d02e71a5317852316798d7 /sbin | |
parent | f37d6c57e71827ca80c261bc6fba2acc2a22aa4e (diff) | |
download | FreeBSD-src-08319f85fb7bb2d5a5d31a41885cabcd5c665233.zip FreeBSD-src-08319f85fb7bb2d5a5d31a41885cabcd5c665233.tar.gz |
Cast to intmax_t when using %jd format.
MFC after: 3 days
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/newfs/newfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c index f39b55b..f5a0154 100644 --- a/sbin/newfs/newfs.c +++ b/sbin/newfs/newfs.c @@ -299,7 +299,7 @@ main(int argc, char *argv[]) fssize = mediasize / sectorsize; else if (fssize > mediasize / sectorsize) errx(1, "%s: maximum file system size is %jd", - special, (off_t)(mediasize / sectorsize)); + special, (intmax_t)(mediasize / sectorsize)); } pp = NULL; lp = getdisklabel(special); |