From 3d10e751170f643bff20fa229d6686fd2ad751ba Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Fri, 4 Sep 2009 22:09:58 +0000 Subject: [PATCH] * src/useradd.c: Fixed wrong format string. * lib/gshadow.c: Removed declaration of unused variable. --- ChangeLog | 5 +++++ lib/gshadow.c | 1 - src/useradd.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) 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);