From: Jim Meyering Date: Tue, 8 Aug 2000 07:11:46 +0000 (+0000) Subject: (do_link): Invoke xalloc_die instead of printing our own message. X-Git-Tag: FILEUTILS-4_0y~73 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b2557211cb23035c7aafc0311c15b05b214a8352;p=thirdparty%2Fcoreutils.git (do_link): Invoke xalloc_die instead of printing our own message. --- diff --git a/src/ln.c b/src/ln.c index b9a954a336..e17c959043 100644 --- a/src/ln.c +++ b/src/ln.c @@ -262,7 +262,7 @@ do_link (const char *source, const char *dest) { char *tmp_backup = find_backup_file_name (dest, backup_type); if (tmp_backup == NULL) - error (1, 0, _("virtual memory exhausted")); + xalloc_die (); dest_backup = (char *) alloca (strlen (tmp_backup) + 1); strcpy (dest_backup, tmp_backup); free (tmp_backup);