summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pw/pw.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/pw/pw.c b/pw/pw.c
index 22665e9..6376133 100644
--- a/pw/pw.c
+++ b/pw/pw.c
@@ -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);