summaryrefslogtreecommitdiff
path: root/usr.bin/rctl
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2015-12-01 19:37:24 +0000
committerEnji Cooper <ngie@FreeBSD.org>2015-12-01 19:37:24 +0000
commitc281fdb15358bcc5cd83496bff199707dc4bc6a2 (patch)
tree8ae86b920da68449259e5f5958a429d7f9f3ac8b /usr.bin/rctl
parent5ef011150c6a60b128d298c5c0c66dd7d3c91f11 (diff)
downloadsrc-test2-c281fdb15358bcc5cd83496bff199707dc4bc6a2.tar.gz
src-test2-c281fdb15358bcc5cd83496bff199707dc4bc6a2.zip
Fix typos in error messages dealing with unknown groups/users
MFC after: 1 month X-MFC with: r291447, r291452 Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=291609
Diffstat (limited to 'usr.bin/rctl')
-rw-r--r--usr.bin/rctl/rctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rctl/rctl.c b/usr.bin/rctl/rctl.c
index da6f719b484f..4b3b8e18f936 100644
--- a/usr.bin/rctl/rctl.c
+++ b/usr.bin/rctl/rctl.c
@@ -64,7 +64,7 @@ parse_user(const char *s, id_t *uidp, const char *unexpanded_rule)
}
if (!isnumber(s[0])) {
- warnx("malformed rule '%s': uknown user '%s'",
+ warnx("malformed rule '%s': unknown user '%s'",
unexpanded_rule, s);
return (1);
}
@@ -92,7 +92,7 @@ parse_group(const char *s, id_t *gidp, const char *unexpanded_rule)
}
if (!isnumber(s[0])) {
- warnx("malformed rule '%s': uknown group '%s'",
+ warnx("malformed rule '%s': unknown group '%s'",
unexpanded_rule, s);
return (1);
}