summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/smbpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c
index 2ac44fbdec..e5e5424a2b 100644
--- a/source3/utils/smbpasswd.c
+++ b/source3/utils/smbpasswd.c
@@ -173,7 +173,7 @@ int main(int argc, char **argv)
extern int optind;
extern int DEBUGLEVEL;
int real_uid;
- struct passwd *pwd;
+ struct passwd *pwd = NULL;
fstring old_passwd;
fstring new_passwd;
uchar new_p16[16];