12 lines
543 B
Diff
12 lines
543 B
Diff
diff -up anacron-2.3/readtab.c.spool anacron-2.3/readtab.c
|
|
--- anacron-2.3/readtab.c.spool 2008-04-09 11:04:21.000000000 +0200
|
|
+++ anacron-2.3/readtab.c 2008-04-09 11:23:09.000000000 +0200
|
|
@@ -305,7 +305,7 @@ read_tab(int cwd)
|
|
/* Open the anacrontab file */
|
|
fchdir (cwd);
|
|
tab = fopen(anacrontab, "r");
|
|
- if (chdir(spooldir)) die_e("Can't chdir to %s", SPOOLDIR);
|
|
+ if (chdir(spooldir)) die_e("Can't chdir to %s", spooldir);
|
|
|
|
if (tab == NULL) die_e("Error opening %s", anacrontab);
|
|
/* Initialize the obstacks */
|