Initialize conf using menset(3)
This commit is contained in:
parent
2166b4d190
commit
bbe09b2e19
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user