From b2557211cb23035c7aafc0311c15b05b214a8352 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 8 Aug 2000 07:11:46 +0000 Subject: (do_link): Invoke xalloc_die instead of printing our own message. --- src/ln.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ln.c b/src/ln.c index b9a954a33..e17c95904 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); -- cgit v1.2.3-70-g09d2