]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Make FATAL messages have a consistent prefix
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 3 Nov 2015 14:44:38 +0000 (06:44 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 3 Nov 2015 14:44:38 +0000 (06:44 -0800)
src/cache_cf.cc

index a4aaedd0ae50351e6c2d56a1a5431994c65a873b..5b6ca10004cc6e0e3a330c6ad6bee28701fd92ad 100644 (file)
@@ -4022,7 +4022,7 @@ requirePathnameExists(const char *name, const char *path)
     }
 
     if (stat(path, &sb) < 0) {
-        debugs(0, DBG_CRITICAL, (opt_parse_cfg_only?"FATAL ":"") << "ERROR: " << name << " " << path << ": " << xstrerror());
+        debugs(0, DBG_CRITICAL, (opt_parse_cfg_only?"FATAL: ":"ERROR: ") << name << " " << path << ": " << xstrerror());
         // keep going to find more issues if we are only checking the config file with "-k parse"
         if (opt_parse_cfg_only)
             return;