Explicitly initialize _pw_passwd.
This commit is contained in:
parent
55acaca9e1
commit
580ef74769
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67725
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user