summaryrefslogtreecommitdiffstats
path: root/usr.bin/passwd/passwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/passwd/passwd.c')
-rw-r--r--usr.bin/passwd/passwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/passwd/passwd.c b/usr.bin/passwd/passwd.c
index d35458c..2d399c5 100644
--- a/usr.bin/passwd/passwd.c
+++ b/usr.bin/passwd/passwd.c
@@ -67,7 +67,7 @@ int
main(int argc, char *argv[])
{
char hostname[MAXHOSTNAMELEN];
- struct passwd *pwd;
+ struct passwd *pwd = NULL; /* Keep compiler happy. */
int o, pam_err;
uid_t uid;
OpenPOWER on IntegriCloud