]> granicus.if.org Git - apache/commitdiff
use actual error code in AH00779
authorEric Covener <covener@apache.org>
Sat, 20 Sep 2014 10:59:30 +0000 (10:59 +0000)
committerEric Covener <covener@apache.org>
Sat, 20 Sep 2014 10:59:30 +0000 (10:59 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1626416 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/cache_util.c

index 6862b5335d24d51406d19dd009d223a504234bc9..023fc8184319b7bc4527a6a07d5919c9867e2cd9 100644 (file)
@@ -333,7 +333,7 @@ apr_status_t cache_try_lock(cache_server_conf *conf, cache_request_rec *cache,
     status = apr_stat(&finfo, lockname,
                 APR_FINFO_MTIME | APR_FINFO_NLINK, r->pool);
     if (!(APR_STATUS_IS_ENOENT(status)) && APR_SUCCESS != status) {
-        ap_log_rerror(APLOG_MARK, APLOG_ERR, APR_EEXIST, r, APLOGNO(00779)
+        ap_log_rerror(APLOG_MARK, APLOG_ERR, status, r, APLOGNO(00779)
                 "Could not stat a cache lock file: %s",
                 lockname);
         return status;