diff options
Diffstat (limited to 'usr.sbin/cpucontrol/cpucontrol.c')
-rw-r--r-- | usr.sbin/cpucontrol/cpucontrol.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/cpucontrol/cpucontrol.c b/usr.sbin/cpucontrol/cpucontrol.c index 554395c..eb83e4d 100644 --- a/usr.sbin/cpucontrol/cpucontrol.c +++ b/usr.sbin/cpucontrol/cpucontrol.c @@ -448,6 +448,10 @@ main(int argc, char *argv[]) error = 0; cmdarg = ""; /* To keep gcc3 happy. */ + /* + * Add all default data dirs to the list first. + */ + datadir_add(DEFAULT_DATADIR); while ((c = getopt(argc, argv, "d:ehi:m:nuv")) != -1) { switch (c) { case 'd': |