1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-05-26 20:26:31 +02:00

(xstrndup): Invoke xalloc_die instead of printing our own message.

This commit is contained in:
Jim Meyering
2000-08-08 07:11:12 +00:00
parent deffd164df
commit 13587cf0ec
+1 -1
View File
@@ -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;
}