git: 72a92f91f466 - main - nfsstat(1): Fix a typo in an error message

Gordon Bergling gbe at FreeBSD.org
Mon Aug 23 07:23:12 UTC 2021


The branch main has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=72a92f91f466fdb73071ec28982b9f4d4cf9b672

commit 72a92f91f466fdb73071ec28982b9f4d4cf9b672
Author:     Gordon Bergling <gbe at FreeBSD.org>
AuthorDate: 2021-08-23 07:21:28 +0000
Commit:     Gordon Bergling <gbe at FreeBSD.org>
CommitDate: 2021-08-23 07:21:28 +0000

    nfsstat(1): Fix a typo in an error message
    
    - s/priviledged/privileged/
    
    MFC after:      1 week
---
 usr.bin/nfsstat/nfsstat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.bin/nfsstat/nfsstat.c b/usr.bin/nfsstat/nfsstat.c
index 72a2c08963cf..e2d747634bcc 100644
--- a/usr.bin/nfsstat/nfsstat.c
+++ b/usr.bin/nfsstat/nfsstat.c
@@ -182,7 +182,7 @@ main(int argc, char **argv)
 						    mntbuf->f_mntfromname,
 						    mntbuf->f_mntonname, buf);
 					else if (errno == EPERM)
-						errx(1, "Only priviledged users"
+						errx(1, "Only privileged users"
 						    " can use the -m option");
 				}
 				mntbuf++;


More information about the dev-commits-src-all mailing list