]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SQUID_PREFIX is no longer needed and Makefile.am doesn't define it.
authorwessels <>
Tue, 4 Sep 2001 03:28:57 +0000 (03:28 +0000)
committerwessels <>
Tue, 4 Sep 2001 03:28:57 +0000 (03:28 +0000)
src/fs/diskd/store_dir_diskd.cc

index 3f45b28b0b4feb8d97f72ffeb11e769ae89461a9..e33b572ccf79e200b0a57a245bb660ae9b2c210d 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: store_dir_diskd.cc,v 1.53 2001/07/11 22:29:50 hno Exp $
+ * $Id: store_dir_diskd.cc,v 1.54 2001/09/03 21:28:57 wessels Exp $
  *
  * DEBUG: section 47    Store Directory Routines
  * AUTHOR: Duane Wessels
 #define DefaultLevelTwoDirs     256
 #define STORE_META_BDISKDZ 4096
 
-#ifndef SQUID_PREFIX
-#error "SQUID_PREFIX needs defining!"
-#endif
-
 diskd_stats_t diskd_stats;
 
 typedef struct _RebuildState RebuildState;
@@ -429,7 +425,7 @@ storeDiskdDirInit(SwapDir * sd)
        &rfd,
        &diskdinfo->wfd);
     if (x < 0)
-       fatal("execl " SQUID_PREFIX "/bin/diskd failed");
+       fatalf("execl: %s", Config.Program.diskd);
     if (rfd != diskdinfo->wfd)
        comm_close(rfd);
     fd_note(diskdinfo->wfd, "squid -> diskd");