summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-09-21 15:23:35 +0000
committerJim Meyering <jim@meyering.net>1996-09-21 15:23:35 +0000
commiteaa41b023f39427680b0705a522398aa556b4881 (patch)
treef3c631c4b19ab049c5abd3fc29f6be353f53fa3f /src
parent0867d4efd3f24bd4f2cea192b0627110bd90a71f (diff)
downloadcoreutils-eaa41b023f39427680b0705a522398aa556b4881.tar.xz
(xstrndup): Use message that's the same as the one
you get from e.g., xmalloc. Reported by Santiago Vila.
Diffstat (limited to 'src')
-rw-r--r--src/dircolors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dircolors.c b/src/dircolors.c
index a52bd13b1..b83cf12d4 100644
--- a/src/dircolors.c
+++ b/src/dircolors.c
@@ -126,7 +126,7 @@ xstrndup (const char *s, size_t n)
{
char *new = strndup (s, n);
if (new == NULL)
- error (EXIT_FAILURE, 0, _("Memory exhausted"));
+ error (EXIT_FAILURE, 0, _("virtual memory exhausted"));
return new;
}