summaryrefslogtreecommitdiffstats
path: root/source/a/shadow/patches/r3054.diff
blob: dc1eab13b5c05d6adf17813c98eadc9fb8d629ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
* 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);