]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #918: Complain loudly if no write permission to cache directory
authorhno <>
Sun, 7 Nov 2004 21:03:18 +0000 (21:03 +0000)
committerhno <>
Sun, 7 Nov 2004 21:03:18 +0000 (21:03 +0000)
src/fs/ufs/store_io_ufs.cc

index fefb273bd93ec62aefc1ab93540ecc543debbdb8..67afbe3d181924a70f69e52520325ee11aff1c23 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: store_io_ufs.cc,v 1.24 2004/08/30 05:12:33 robertc Exp $
+ * $Id: store_io_ufs.cc,v 1.25 2004/11/07 14:03:18 hno Exp $
  *
  * DEBUG: section 79    Storage Manager UFS Interface
  * AUTHOR: Duane Wessels
@@ -137,7 +137,7 @@ UFSFile::open (int flags, mode_t mode, IORequestor::Pointer callback)
     ioRequestor = callback;
 
     if (fd < 0) {
-        debug(79, 3) ("UFSFile::open: got failure (%d)\n", errno);
+        debug(79, 1) ("UFSFile::open: Failed to open %s (%s)\n", path_, xstrerror());
         error(true);
     } else {
         closed = false;