Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 98638 invoked by uid 500); 16 Jan 2002 19:36:24 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 98621 invoked by uid 500); 16 Jan 2002 19:36:24 -0000 Delivered-To: apmail-apache-1.3-cvs@apache.org Date: 16 Jan 2002 19:36:23 -0000 Message-ID: <20020116193623.81133.qmail@icarus.apache.org> From: trawick@apache.org To: apache-1.3-cvs@apache.org Subject: cvs commit: apache-1.3/src/main http_main.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N trawick 02/01/16 11:36:23 Modified: src/main http_main.c Log: make an error message for an mmap() failure a little more specific Revision Changes Path 1.569 +1 -1 apache-1.3/src/main/http_main.c Index: http_main.c =================================================================== RCS file: /home/cvs/apache-1.3/src/main/http_main.c,v retrieving revision 1.568 retrieving revision 1.569 diff -u -r1.568 -r1.569 --- http_main.c 16 Jan 2002 15:52:15 -0000 1.568 +++ http_main.c 16 Jan 2002 19:36:23 -0000 1.569 @@ -654,7 +654,7 @@ 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);