From e2bd68acb68a7398f4c532c7933426db397c6c73 Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Fri, 17 Mar 2000 21:58:30 +0000 Subject: [PATCH] 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 --- server/mpm/prefork/prefork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.40.0