From ae19e14ba17ed60e557060f5bd6d7c42107aadd7 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Wed, 16 Jan 2002 19:36:23 +0000 Subject: [PATCH] make an error message for an mmap() failure a little more specific git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@92868 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/http_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/http_main.c b/src/main/http_main.c index 50ca6f19f36..14ed577e58b 100644 --- a/src/main/http_main.c +++ b/src/main/http_main.c @@ -654,7 +654,7 @@ static void accept_mutex_init_pthread(pool *p) accept_mutex = (pthread_mutex_t *) mmap((caddr_t) 0, sizeof(*accept_mutex), PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); if (accept_mutex == (void *) (caddr_t) - 1) { - perror("mmap"); + perror("mmap /dev/zero"); exit(APEXIT_INIT); } close(fd); -- 2.47.2