Sophie

Sophie

distrib > Mandriva > 2009.1 > i586 > media > main-release-src > by-pkgid > 4090922c88d76dcb9d3d77a391885b7d > files > 5

anacron-2.3-30mdv2009.1.src.rpm

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 */