summaryrefslogtreecommitdiffstats
path: root/usr.sbin/quot
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1999-11-27 17:05:08 +0000
committercharnier <charnier@FreeBSD.org>1999-11-27 17:05:08 +0000
commit1d8a1bacefc75efe8a785ad5987ce9891a2d00da (patch)
treebefac766cd677ac4d2b15c4bba5c92d559aaeca6 /usr.sbin/quot
parentf5e65181769eaf6687b2e1007369101fba98d574 (diff)
downloadFreeBSD-src-1d8a1bacefc75efe8a785ad5987ce9891a2d00da.zip
FreeBSD-src-1d8a1bacefc75efe8a785ad5987ce9891a2d00da.tar.gz
Do not repeat the name of the flag. Change alloc to allocate for better
spelling of printed messages.
Diffstat (limited to 'usr.sbin/quot')
-rw-r--r--usr.sbin/quot/quot.810
-rw-r--r--usr.sbin/quot/quot.c6
2 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/quot/quot.8 b/usr.sbin/quot/quot.8
index da243e3..0a5efa8 100644
--- a/usr.sbin/quot/quot.8
+++ b/usr.sbin/quot/quot.8
@@ -59,10 +59,8 @@ Despite that this doesn't give the correct results (it doesn't
account for the holes in files), this option isn't any faster
and thus is discouraged.
.It Fl k
+Cause the numbers to be reported in kilobyte counts.
By default, all sizes are reported in 512-byte block counts.
-The
-.Fl k
-options causes the numbers to be reported in kilobyte counts.
.It Fl n
Given a list of inodes (plus some optional data on each line)
in the standard input, for each file print out the owner (plus
@@ -83,12 +81,14 @@ not accessed within 30, 60 and 90 days.
If the environment variable
.Ev BLOCKSIZE
is set, and the
-.Gl k
+.Fl k
option is not specified, the block counts will be displayed in units of that
size block.
.El
.Sh BUGS
-ncheck does not exist in FreeBSD.. :-)
+.Xr ncheck
+does not exist in
+.Bx Free Ns .. :-)
.Sh SEE ALSO
.Xr df 1 ,
.Xr quota 1 ,
diff --git a/usr.sbin/quot/quot.c b/usr.sbin/quot/quot.c
index fcfea6a..9153bd1 100644
--- a/usr.sbin/quot/quot.c
+++ b/usr.sbin/quot/quot.c
@@ -330,7 +330,7 @@ dofsizes(fd,super,name)
maxino = super->fs_ncg * super->fs_ipg - 1;
#ifdef COMPAT
if (!(fsizes = (struct fsizes *)malloc(sizeof(struct fsizes))))
- errx(1, "alloc fsize structure");
+ errx(1, "allocate fsize structure");
#endif /* COMPAT */
for (inode = 0; inode < maxino; inode++) {
errno = 0;
@@ -361,7 +361,7 @@ dofsizes(fd,super,name)
if (!fp || ksz < fp->fsz_first) {
if (!(fp = (struct fsizes *)
malloc(sizeof(struct fsizes))))
- errx(1, "alloc fsize structure");
+ errx(1, "allocate fsize structure");
fp->fsz_next = *fsp;
*fsp = fp;
fp->fsz_first = (ksz / FSZCNT) * FSZCNT;
@@ -483,7 +483,7 @@ usage()
#ifdef COMPAT
fprintf(stderr,"usage: quot [-nfcvha] [filesystem ...]\n");
#else /* COMPAT */
- fprintf(stderr,"usage: quot [-acfhknv] [ filesystem ... ]\n");
+ fprintf(stderr,"usage: quot [-acfhknv] [filesystem ...]\n");
#endif /* COMPAT */
exit(1);
}
OpenPOWER on IntegriCloud