summaryrefslogtreecommitdiffstats
path: root/usr.bin/rctl
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-12-01 19:37:24 +0000
committerngie <ngie@FreeBSD.org>2015-12-01 19:37:24 +0000
commitd98f828bb72202c24280aa57c17f3e81fe639946 (patch)
tree8ae86b920da68449259e5f5958a429d7f9f3ac8b /usr.bin/rctl
parent1822da5070e27a781b0c3af9d2ba4e6ff595cfba (diff)
downloadFreeBSD-src-d98f828bb72202c24280aa57c17f3e81fe639946.zip
FreeBSD-src-d98f828bb72202c24280aa57c17f3e81fe639946.tar.gz
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
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 da6f719..4b3b8e1 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);
}
OpenPOWER on IntegriCloud