summaryrefslogtreecommitdiff
path: root/source3/utils/smbpasswd.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/smbpasswd.c')
-rw-r--r--source3/utils/smbpasswd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c
index 2adb6d9523..a96a1c0f7b 100644
--- a/source3/utils/smbpasswd.c
+++ b/source3/utils/smbpasswd.c
@@ -153,7 +153,7 @@ static char *stdin_new_passwd(void)
static fstring new_passwd;
size_t len;
- ZERO_STRUCT(new_passwd);
+ ZERO_ARRAY(new_passwd);
/*
* if no error is reported from fgets() and string at least contains
@@ -194,7 +194,7 @@ static char *prompt_for_new_password(BOOL stdin_get)
char *p;
fstring new_passwd;
- ZERO_STRUCT(new_passwd);
+ ZERO_ARRAY(new_passwd);
p = get_pass("New SMB password:", stdin_get);