diff options
author | nectar <nectar@FreeBSD.org> | 2000-10-27 18:27:07 +0000 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2000-10-27 18:27:07 +0000 |
commit | 51bb4dd60a03f4a7f39b9ccc5ee6a773c230f2c2 (patch) | |
tree | 52391301d562cdcc46860fb3ba5c583218770683 /lib/libc/gen/getpwent.c | |
parent | 6a129ddd436939512b11e067377ecec634a7cd4b (diff) | |
download | FreeBSD-src-51bb4dd60a03f4a7f39b9ccc5ee6a773c230f2c2.zip FreeBSD-src-51bb4dd60a03f4a7f39b9ccc5ee6a773c230f2c2.tar.gz |
Explicitly initialize _pw_passwd.
Diffstat (limited to 'lib/libc/gen/getpwent.c')
-rw-r--r-- | lib/libc/gen/getpwent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/getpwent.c b/lib/libc/gen/getpwent.c index 3c8620e..c46c5a2 100644 --- a/lib/libc/gen/getpwent.c +++ b/lib/libc/gen/getpwent.c @@ -78,7 +78,7 @@ extern int innetgr __P((const char *, const char *, const char *, const char *)) * in sync with that in `pwd_mkdb'. */ -static struct passwd _pw_passwd; /* password structure */ +static struct passwd _pw_passwd = { "", "", 0, 0, 0, "", "", "", "", 0, 0 }; static DB *_pw_db; /* password database */ static int _pw_keynum; /* key counter. no more records if -1 */ static int _pw_stayopen; /* keep fd's open */ |