From: Jeff Trawick Date: Wed, 16 Jan 2002 19:36:23 +0000 (+0000) Subject: make an error message for an mmap() failure a little more specific X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae19e14ba17ed60e557060f5bd6d7c42107aadd7;p=thirdparty%2Fapache%2Fhttpd.git 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 --- 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);