]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
make an error message for an mmap() failure a little more specific
authorJeff Trawick <trawick@apache.org>
Wed, 16 Jan 2002 19:36:23 +0000 (19:36 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 16 Jan 2002 19:36:23 +0000 (19:36 +0000)
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

index 50ca6f19f364449252bf55643e919eafcc188db2..14ed577e58b5fbb14574bee9f19318c2da370162 100644 (file)
@@ -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);