diff --git a/ChangeLog b/ChangeLog index d6742045..55deac41 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-09-05 Nicolas François + + * src/useradd.c: Fixed wrong format string. + * lib/gshadow.c: Removed declaration of unused variable. + 2009-08-30 Mike Frysinger * man/generate_mans.mak, man/generate_translations.mak: Provide an diff --git a/lib/gshadow.c b/lib/gshadow.c index 87bbbbda..8427fc23 100644 --- a/lib/gshadow.c +++ b/lib/gshadow.c @@ -216,7 +216,6 @@ void endsgent (void) static char *buf = NULL; char *cp; - struct sgrp *ret; if (0 == buflen) { buf = (char *) malloc (BUFSIZ); diff --git a/src/useradd.c b/src/useradd.c index e36a8d94..83c0ba69 100644 --- a/src/useradd.c +++ b/src/useradd.c @@ -684,7 +684,7 @@ static int get_groups (char *list) static void usage (void) { (void) fprintf (stderr, - _("Usage: useradd [options] LOGIN\n" + _("Usage: %s [options] LOGIN\n" "\n" "Options:\n"), Prog);