]> granicus.if.org Git - apache/commitdiff
Update the prefork mpm with the new ap_shm_init prototype.
authorRyan Bloom <rbb@apache.org>
Fri, 17 Mar 2000 21:58:30 +0000 (21:58 +0000)
committerRyan Bloom <rbb@apache.org>
Fri, 17 Mar 2000 21:58:30 +0000 (21:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84789 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/prefork/prefork.c

index e374e88529e0329ee264cfea6e99d35a29ca0140..c9f89868817b0b993af747b6fe4115cac6aa7698 100644 (file)
@@ -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);