changeset 33598:d2ed1317ec06

(mmap_enlarge): Don't print a message on stderr if mapping new memory at the end of the existing region fails.
author Gerd Moellmann <gerd@gnu.org>
date Sat, 18 Nov 2000 15:50:08 +0000
parents 9841e2ca8c76
children ef784855566b
files src/buffer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c	Sat Nov 18 15:39:51 2000 +0000
+++ b/src/buffer.c	Sat Nov 18 15:50:08 2000 +0000
@@ -4275,7 +4275,7 @@
 	  p = mmap (region_end, nbytes, PROT_READ | PROT_WRITE,
 		    MAP_ANON | MAP_PRIVATE | MAP_FIXED, mmap_fd, 0);
 	  if (p == MAP_FAILED)
-	    fprintf (stderr, "mmap: %s\n", emacs_strerror (errno));
+	    ; /* fprintf (stderr, "mmap: %s\n", emacs_strerror (errno)); */
 	  else if (p != (POINTER_TYPE *) region_end)
 	    {
 	      /* Kernels are free to choose a different address.  In