httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apache-1.3/src/main http_main.c
Date Wed, 16 Jan 2002 19:36:23 GMT
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);
  
  
  

Mime
View raw message