summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pw/pw_user.c
diff options
context:
space:
mode:
authordavidn <davidn@FreeBSD.org>1999-07-28 12:49:34 +0000
committerdavidn <davidn@FreeBSD.org>1999-07-28 12:49:34 +0000
commit92f725d0a60e757dacdcdf28ff709380bb78f979 (patch)
treee3f6e0478a50f4d5a062ca58171c1f09d202d6fe /usr.sbin/pw/pw_user.c
parentd9756ac21a7cac5e2670862d0908dd19862b5929 (diff)
downloadFreeBSD-src-92f725d0a60e757dacdcdf28ff709380bb78f979.zip
FreeBSD-src-92f725d0a60e757dacdcdf28ff709380bb78f979.tar.gz
Remove some more warnings.
Diffstat (limited to 'usr.sbin/pw/pw_user.c')
-rw-r--r--usr.sbin/pw/pw_user.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/pw/pw_user.c b/usr.sbin/pw/pw_user.c
index 0eb9802..c1bb8e6 100644
--- a/usr.sbin/pw/pw_user.c
+++ b/usr.sbin/pw/pw_user.c
@@ -27,7 +27,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: pw_user.c,v 1.27 1999/02/23 07:15:10 davidn Exp $";
+ "$Id: pw_user.c,v 1.28 1999/03/02 00:53:33 davidn Exp $";
#endif /* not lint */
#include <ctype.h>
@@ -54,7 +54,7 @@ static const char rcsid[] =
#define LOGNAMESIZE (MAXLOGNAME-1)
#endif
-static randinit;
+static int randinit;
static int print_user(struct passwd * pwd, int pretty, int v7);
static uid_t pw_uidpolicy(struct userconf * cnf, struct cargs * args);
@@ -123,6 +123,7 @@ pw_user(struct userconf * cnf, int mode, struct cargs * args)
"User &",
"/bin/sh",
0,
+ 0,
0
};
OpenPOWER on IntegriCloud