From: Jeff Trawick Date: Thu, 24 Apr 2003 13:41:06 +0000 (+0000) Subject: the error code is in the apr_status_t, not errno X-Git-Tag: pre_ajp_proxy~1780 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d1d7239bf38f4183638eefcb5aedb702d6410d2e;p=thirdparty%2Fapache%2Fhttpd.git the error code is in the apr_status_t, not errno git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99573 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/prefork/prefork.c b/server/mpm/prefork/prefork.c index f498c6f5645..a1612712bf1 100644 --- a/server/mpm/prefork/prefork.c +++ b/server/mpm/prefork/prefork.c @@ -207,7 +207,7 @@ static void chdir_for_gprof(void) use_dir = ap_server_root_relative(pconf, buf[0] ? buf : dir); res = apr_dir_make(use_dir, 0755, pconf); if(res != APR_SUCCESS && !APR_STATUS_IS_EEXIST(res)) { - ap_log_error(APLOG_MARK, APLOG_ERR, errno, ap_server_conf, + ap_log_error(APLOG_MARK, APLOG_ERR, res, ap_server_conf, "gprof: error creating directory %s", dir); } }