diff options
Diffstat (limited to 'pw/pw.c')
-rw-r--r-- | pw/pw.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -131,9 +131,7 @@ main(int argc, char *argv[]) }; relocated = nis = false; - conf.rootdir[0] = '\0'; - conf.dryrun = false; - conf.pretty = false; + memset(&conf, 0, sizeof(conf)); strlcpy(conf.etcpath, _PATH_PWD, sizeof(conf.etcpath)); LIST_INIT(&arglist); |