diff options
author | Joe Orton <jorton@apache.org> | 2019-05-03 11:07:32 +0200 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2019-05-03 11:07:32 +0200 |
commit | cc33262df27996f96d88fe0df28e068c494d2f1b (patch) | |
tree | 4c80472fa3ff60ceb0cf52ee55abf9e2cc50e616 | |
parent | fr doc rebuild. (diff) | |
download | apache2-cc33262df27996f96d88fe0df28e068c494d2f1b.tar.xz apache2-cc33262df27996f96d88fe0df28e068c494d2f1b.zip |
* 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'.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1858565 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | modules/cache/mod_socache_shmcb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/cache/mod_socache_shmcb.c b/modules/cache/mod_socache_shmcb.c index cb98dfa236..d6be870f12 100644 --- a/modules/cache/mod_socache_shmcb.c +++ b/modules/cache/mod_socache_shmcb.c @@ -368,8 +368,8 @@ static apr_status_t socache_shmcb_init(ap_socache_instance_t *ctx, * 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; } |