]> granicus.if.org Git - shadow/commitdiff
Fix s/from/to/ in usermod.c error message
authorSerge Hallyn <serge@hallyn.com>
Wed, 21 Dec 2016 18:40:03 +0000 (12:40 -0600)
committerSerge Hallyn <serge@hallyn.com>
Wed, 21 Dec 2016 18:40:08 +0000 (12:40 -0600)
Closes #49

Signed-off-by: Serge Hallyn <serge@hallyn.com>
src/usermod.c

index d72cf85f7c484e068dc7d20301d969e512aea14b..68e31e4f74337fb2e05d7251d575d03c13b6db09 100644 (file)
@@ -2156,7 +2156,7 @@ int main (int argc, char **argv)
                        unsigned long count = ptr->range.last - ptr->range.first + 1;
                        if (sub_uid_add(user_name, ptr->range.first, count) == 0) {
                                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, 
                                        sub_uid_dbname ());
                                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;
                        if (sub_gid_add(user_name, ptr->range.first, count) == 0) {
                                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, 
                                        sub_gid_dbname ());
                                fail_exit (E_SUB_GID_UPDATE);