diff --git a/usr.sbin/quot/quot.c b/usr.sbin/quot/quot.c index 755493578e58..f5e91826ac0b 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 +#include #include #include #include @@ -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])); } }