From: Jim Meyering Date: Sat, 21 Sep 1996 15:23:35 +0000 (+0000) Subject: (xstrndup): Use message that's the same as the one X-Git-Tag: TEXTUTILS-1_19f~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eaa41b023f39427680b0705a522398aa556b4881;p=thirdparty%2Fcoreutils.git (xstrndup): Use message that's the same as the one you get from e.g., xmalloc. Reported by Santiago Vila. --- 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; }