diff options
Diffstat (limited to 'usr.sbin/edquota/edquota.c')
-rw-r--r-- | usr.sbin/edquota/edquota.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/edquota/edquota.c b/usr.sbin/edquota/edquota.c index 0e1a988..326c741 100644 --- a/usr.sbin/edquota/edquota.c +++ b/usr.sbin/edquota/edquota.c @@ -421,7 +421,7 @@ writeprivs(quplist, outfd, name, quotatype) fprintf(fd, "Quotas for %s %s:\n", qfextension[quotatype], name); for (qup = quplist; qup; qup = qup->next) { fprintf(fd, "%s: %s %lu, limits (soft = %lu, hard = %lu)\n", - qup->fsname, "blocks in use:", + qup->fsname, "kbytes in use:", (unsigned long)(dbtob(qup->dqblk.dqb_curblocks) / 1024), (unsigned long)(dbtob(qup->dqblk.dqb_bsoftlimit) / 1024), (unsigned long)(dbtob(qup->dqblk.dqb_bhardlimit) / 1024)); @@ -472,7 +472,7 @@ readprivs(quplist, inname) return (0); } cnt = sscanf(cp, - " blocks in use: %lu, limits (soft = %lu, hard = %lu)", + " kbytes in use: %lu, limits (soft = %lu, hard = %lu)", &curblocks, &bsoftlimit, &bhardlimit); if (cnt != 3) { warnx("%s:%s: bad format", fsp, cp); |