git: 08fe2da3cef2 - stable/13 - nfsstat(1): Fix a typo in an error message

Gordon Bergling gbe at FreeBSD.org
Mon Aug 30 05:45:28 UTC 2021


The branch stable/13 has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=08fe2da3cef29ac837108be1ed644c52ccc04ed4

commit 08fe2da3cef29ac837108be1ed644c52ccc04ed4
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-30 05:44:57 +0000

    nfsstat(1): Fix a typo in an error message
    
    - s/priviledged/privileged/
    
    (cherry picked from commit 72a92f91f466fdb73071ec28982b9f4d4cf9b672)
---
 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-branches mailing list