From eaa41b023f39427680b0705a522398aa556b4881 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 21 Sep 1996 15:23:35 +0000 Subject: [PATCH] (xstrndup): Use message that's the same as the one you get from e.g., xmalloc. Reported by Santiago Vila. --- src/dircolors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dircolors.c b/src/dircolors.c index a52bd13b12..b83cf12d43 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; } -- 2.47.2