GNU shell utilities
authorJim Meyering <jim@meyering.net>
Mon, 15 Nov 1993 14:23:38 +0000 (14:23 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 15 Nov 1993 14:23:38 +0000 (14:23 +0000)
lib/xmalloc.c

index 58a81b5..2c1532a 100644 (file)
@@ -59,7 +59,7 @@ xmalloc (n)
   p = malloc (n);
   if (p == 0)
     /* Must exit with 2 for `cmp'.  */
-    error (2, 0, "virtual memory exhausted");
+    error (2, 0, "memory exhausted");
   return p;
 }
 
@@ -83,6 +83,6 @@ xrealloc (p, n)
   p = realloc (p, n);
   if (p == 0)
     /* Must exit with 2 for `cmp'.  */
-    error (2, 0, "virtual memory exhausted");
+    error (2, 0, "memory exhausted");
   return p;
 }