From: wessels <> Date: Tue, 4 Sep 2001 03:28:57 +0000 (+0000) Subject: SQUID_PREFIX is no longer needed and Makefile.am doesn't define it. X-Git-Tag: SQUID_3_0_PRE1~1416 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=beeb909cb48e7d01044bd6f3d13938b2bef95ffe;p=thirdparty%2Fsquid.git SQUID_PREFIX is no longer needed and Makefile.am doesn't define it. --- diff --git a/src/fs/diskd/store_dir_diskd.cc b/src/fs/diskd/store_dir_diskd.cc index 3f45b28b0b..e33b572ccf 100644 --- a/src/fs/diskd/store_dir_diskd.cc +++ b/src/fs/diskd/store_dir_diskd.cc @@ -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 @@ -45,10 +45,6 @@ #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");