summaryrefslogtreecommitdiff
path: root/source3/utils/smbpasswd.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-11-13 03:37:01 +0000
committerAndrew Tridgell <tridge@samba.org>1998-11-13 03:37:01 +0000
commit2db96e3047400be594e7c5ebf7d6fcedb77f6907 (patch)
tree4a3c3d2e2062b9aaf86d7b6ef9b827b60a6189ac /source3/utils/smbpasswd.c
parent2164685b9f959814af2067aa0dcac2d1b2ac0bc5 (diff)
downloadsamba-2db96e3047400be594e7c5ebf7d6fcedb77f6907.tar.gz
samba-2db96e3047400be594e7c5ebf7d6fcedb77f6907.tar.bz2
samba-2db96e3047400be594e7c5ebf7d6fcedb77f6907.zip
fixes for OSF1 compilation
(This used to be commit 5be3c37f50eac35cad3eadf0d24e7a4ee04c075e)
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);