Fix s/from/to/ in usermod.c error message
Closes #49 Signed-off-by: Serge Hallyn <serge@hallyn.com>
This commit is contained in:
parent
b2bd56a012
commit
411f540590
@ -2156,7 +2156,7 @@ int main (int argc, char **argv)
|
|||||||
unsigned long count = ptr->range.last - ptr->range.first + 1;
|
unsigned long count = ptr->range.last - ptr->range.first + 1;
|
||||||
if (sub_uid_add(user_name, ptr->range.first, count) == 0) {
|
if (sub_uid_add(user_name, ptr->range.first, count) == 0) {
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
_("%s: failed to add uid range %lu-%lu from '%s'\n"),
|
_("%s: failed to add uid range %lu-%lu to '%s'\n"),
|
||||||
Prog, ptr->range.first, ptr->range.last,
|
Prog, ptr->range.first, ptr->range.last,
|
||||||
sub_uid_dbname ());
|
sub_uid_dbname ());
|
||||||
fail_exit (E_SUB_UID_UPDATE);
|
fail_exit (E_SUB_UID_UPDATE);
|
||||||
@ -2182,7 +2182,7 @@ int main (int argc, char **argv)
|
|||||||
unsigned long count = ptr->range.last - ptr->range.first + 1;
|
unsigned long count = ptr->range.last - ptr->range.first + 1;
|
||||||
if (sub_gid_add(user_name, ptr->range.first, count) == 0) {
|
if (sub_gid_add(user_name, ptr->range.first, count) == 0) {
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
_("%s: failed to add gid range %lu-%lu from '%s'\n"),
|
_("%s: failed to add gid range %lu-%lu to '%s'\n"),
|
||||||
Prog, ptr->range.first, ptr->range.last,
|
Prog, ptr->range.first, ptr->range.last,
|
||||||
sub_gid_dbname ());
|
sub_gid_dbname ());
|
||||||
fail_exit (E_SUB_GID_UPDATE);
|
fail_exit (E_SUB_GID_UPDATE);
|
||||||
|
Loading…
Reference in New Issue
Block a user