]> granicus.if.org Git - shadow/commitdiff
* src/newusers.c: Fix typo.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 18 Oct 2011 20:13:37 +0000 (20:13 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 18 Oct 2011 20:13:37 +0000 (20:13 +0000)
* src/useradd.c: Likewise.

ChangeLog
src/newusers.c
src/useradd.c

index 6fbb6bc125d38e7d221f0603604cf022ef9db529..bea547bb94dee42959865471891dfc60049272de 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-18  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/newusers.c: Fix typo.
+       * src/useradd.c: Likewise.
+
 2011-10-15  Nicolas François  <nicolas.francois@centraliens.net>
 
        * man/login.defs.d/LOGIN_STRING.xml: Fix typo.
index f9e849999f778323f2e595a7575e0e494203ff3c..c4a59000d4f851d44c6a3b0b61e6649aeb367ca1 100644 (file)
@@ -891,7 +891,7 @@ int main (int argc, char **argv)
                if (nfields != 6) {
                        fprintf (stderr, _("%s: line %d: invalid line\n"),
                                 Prog, line);
-                       errors++
+                       errors++;
                        continue;
                }
 
index 8bd6f75802fffda60be16663f7ab72d6446bd51f..8d412af1369b08d20fad459b6ae8ffb7e8384afa 100644 (file)
@@ -699,7 +699,7 @@ static void usage (int status)
                          "       %s -D [options]\n"
                          "\n"
                          "Options:\n"),
-                       Prog);
+                       Prog, Prog, Prog);
        (void) fputs (_("  -b, --base-dir BASE_DIR       base directory for the home directory of the\n"
                        "                                new account\n"), usageout);
        (void) fputs (_("  -c, --comment COMMENT         GECOS field of the new account\n"), usageout);