1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-01-30 08:38:10 +01:00
slackware-current/source/a/shadow/patches/r3054.diff

28 lines
779 B
Diff
Raw Normal View History

* src/useradd.c: Fixed wrong format string.
* lib/gshadow.c: Removed declaration of unused variable.
===================================================================
--- src/useradd.c (revision 3052)
+++ src/useradd.c (revision 3054)
@@ -684,7 +684,7 @@
static void usage (void)
{
(void) fprintf (stderr,
- _("Usage: useradd [options] LOGIN\n"
+ _("Usage: %s [options] LOGIN\n"
"\n"
"Options:\n"),
Prog);
===================================================================
--- lib/gshadow.c (revision 3052)
+++ lib/gshadow.c (revision 3054)
@@ -216,7 +216,6 @@
static char *buf = NULL;
char *cp;
- struct sgrp *ret;
if (0 == buflen) {
buf = (char *) malloc (BUFSIZ);