summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-05-15 08:01:31 +0000
committerdes <des@FreeBSD.org>2002-05-15 08:01:31 +0000
commit1a81f5479f5512da9f9370c3a7318c2921730fc0 (patch)
treedb0472f58230688fccfe1e9e232f97cb5a182225 /usr.sbin
parent7146904200b3de5bc196869e2210361e6d07be77 (diff)
downloadFreeBSD-src-1a81f5479f5512da9f9370c3a7318c2921730fc0.zip
FreeBSD-src-1a81f5479f5512da9f9370c3a7318c2921730fc0.tar.gz
Unbreak Alpha build.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/quot/quot.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/quot/quot.c b/usr.sbin/quot/quot.c
index 7554935..f5e9182 100644
--- a/usr.sbin/quot/quot.c
+++ b/usr.sbin/quot/quot.c
@@ -35,6 +35,7 @@ static const char rcsid[] =
#endif /* not lint */
#include <sys/param.h>
+#include <sys/stdint.h>
#include <sys/mount.h>
#include <sys/disklabel.h>
#include <sys/time.h>
@@ -406,8 +407,9 @@ dofsizes(fd,super,name)
for (fp = fsizes; fp; fp = fp->fsz_next) {
for (i = 0; i < FSZCNT; i++) {
if (fp->fsz_count[i])
- printf("%d\t%d\t%d\n",fp->fsz_first + i,
- fp->fsz_count[i],
+ printf("%jd\t%jd\t%d\n",
+ (intmax_t)(fp->fsz_first + i),
+ (intmax_t)fp->fsz_count[i],
SIZE(sz += fp->fsz_sz[i]));
}
}
OpenPOWER on IntegriCloud