From: Ryan Bloom Date: Fri, 17 Mar 2000 21:58:30 +0000 (+0000) Subject: Update the prefork mpm with the new ap_shm_init prototype. X-Git-Tag: APACHE_2_0_ALPHA_2~67 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e2bd68acb68a7398f4c532c7933426db397c6c73;p=apache Update the prefork mpm with the new ap_shm_init prototype. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84789 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/prefork/prefork.c b/server/mpm/prefork/prefork.c index e374e88529..c9f8986881 100644 --- a/server/mpm/prefork/prefork.c +++ b/server/mpm/prefork/prefork.c @@ -922,7 +922,7 @@ static void setup_shared_mem(ap_context_t *p) const char *fname; fname = ap_server_root_relative(p, ap_scoreboard_fname); - if (ap_shm_init(&scoreboard_shm, SCOREBOARD_SIZE + 40, fname) != APR_SUCCESS) { + if (ap_shm_init(&scoreboard_shm, SCOREBOARD_SIZE + 40, fname, p) != APR_SUCCESS) { ap_snprintf(buf, sizeof(buf), "%s: could not open(create) scoreboard", ap_server_argv0); perror(buf);