From 13587cf0ec42e3fcf9ec0600705cc41dadd6a847 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 8 Aug 2000 07:11:12 +0000 Subject: [PATCH] (xstrndup): Invoke xalloc_die instead of printing our own message. --- src/dircolors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dircolors.c b/src/dircolors.c index 2351e61b2a..38e1c5071e 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, _("virtual memory exhausted")); + xalloc_die (); return new; } -- 2.47.3