You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2019/05/03 09:07:32 UTC
svn commit: r1858565 - /httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c
Author: jorton
Date: Fri May 3 09:07:32 2019
New Revision: 1858565
URL: http://svn.apache.org/viewvc?rev=1858565&view=rev
Log:
* modules/cache/mod_socache_shmcb.c (socache_shmcb_init): Describe
error better for anon shm failure case, fixing gcc 9 warning on
passing NULL for '%s'.
Modified:
httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c
Modified: httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c?rev=1858565&r1=1858564&r2=1858565&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_socache_shmcb.c Fri May 3 09:07:32 2019
@@ -368,8 +368,8 @@ static apr_status_t socache_shmcb_init(a
* above will return NULL for invalid paths. */
if (ctx->data_file == NULL) {
ap_log_error(APLOG_MARK, APLOG_ERR, 0, s, APLOGNO(00818)
- "Could not use default path '%s' for shmcb socache",
- ctx->data_file);
+ "Could not use anonymous shm for '%s' cache",
+ namespace);
return APR_EINVAL;
}