Remove incorrect use of .Nm. Wrap long lines, Unwrap short lines

Options: -> The following options are available:
This commit is contained in:
Philippe Charnier 2000-03-26 14:48:46 +00:00
parent 4ed31d6609
commit b189011d7d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=58618
2 changed files with 12 additions and 13 deletions

View File

@ -59,9 +59,8 @@
displays users' disk usage and limits.
By default only the user quotas are printed.
.Pp
Options:
.Pp
.Bl -tag -width Ds
The following options are available:
.Bl -tag -width indent
.It Fl g
Print group quotas for the group
of which the user is a member.
@ -105,14 +104,14 @@ flag.
.Nm Quota
tries to report the quotas of all mounted filesystems.
If the filesystem is mounted via
.Nm NFS ,
.Tn NFS ,
it will attempt to contact the
.Xr rpc.rquotad 8
daemon on the
.Nm NFS
.Tn NFS
server.
For
.Nm UFS
.Tn UFS
filesystems, quotas must be turned on in
.Pa /etc/fstab .
If

View File

@ -295,7 +295,8 @@ showgrpname(name)
if (grp->gr_gid == gidset[i])
break;
if (i >= ngroups && getuid() != 0) {
warnx("%s (gid %u): permission denied", name, grp->gr_gid);
warnx("%s (gid %u): permission denied", name,
grp->gr_gid);
return;
}
}
@ -559,7 +560,7 @@ getufsquota(fst, fs, qup, id, quotatype)
if (quotactl(fs->fs_file, qcmd, id, (char *)&qup->dqblk) != 0) {
if ((fd = open(qfpathname, O_RDONLY)) < 0) {
warn(qfpathname);
warn("%s", qfpathname);
return (0);
}
(void) lseek(fd, (off_t)(id * sizeof(struct dqblk)), L_SET);
@ -611,8 +612,7 @@ getnfsquota(fst, fs, qup, id, quotatype)
*/
cp = strchr(fst->f_mntfromname, ':');
if (cp == NULL) {
warnx("cannot find hostname for %s",
fst->f_mntfromname);
warnx("cannot find hostname for %s", fst->f_mntfromname);
return (0);
}
@ -665,8 +665,7 @@ getnfsquota(fst, fs, qup, id, quotatype)
*cp = ':';
return (1);
default:
warnx("bad rpc result, host: %s",
fst->f_mntfromname);
warnx("bad rpc result, host: %s", fst->f_mntfromname);
break;
}
*cp = ':';
@ -692,7 +691,8 @@ callaurpc(host, prognum, versnum, procnum, inproc, in, outproc, out)
return ((int) RPC_UNKNOWNHOST);
timeout.tv_usec = 0;
timeout.tv_sec = 6;
bcopy(hp->h_addr, &server_addr.sin_addr, MIN(hp->h_length,sizeof(server_addr.sin_addr)));
bcopy(hp->h_addr, &server_addr.sin_addr,
MIN(hp->h_length,sizeof(server_addr.sin_addr)));
server_addr.sin_family = AF_INET;
server_addr.sin_port = 0;