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
This commit is contained in:
Enji Cooper 2015-12-01 19:37:24 +00:00
parent 5ef011150c
commit c281fdb153

View File

@ -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);
}