summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1993-11-15 14:23:38 +0000
committerJim Meyering <jim@meyering.net>1993-11-15 14:23:38 +0000
commit44acd92966cc8c236693bd015ac916347b9d4995 (patch)
tree262a8932bbe483caa1f1b61fc18f6530ac667082
parentad2f59f85043e77b8984761d2351e193bee48cb9 (diff)
downloadgnulib-44acd92966cc8c236693bd015ac916347b9d4995.tar.gz
GNU shell utilities
-rw-r--r--lib/xmalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/xmalloc.c b/lib/xmalloc.c
index 58a81b5abb..2c1532a797 100644
--- a/lib/xmalloc.c
+++ b/lib/xmalloc.c
@@ -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;
}