Commit 07179f0a authored by Ryan Bloom's avatar Ryan Bloom
Browse files

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
parent 0e7eb8ec
Loading
Loading
Loading
Loading
+1 −1
Changes for server/mpm/prefork/prefork.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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);