summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-08-08 07:11:46 +0000
committerJim Meyering <jim@meyering.net>2000-08-08 07:11:46 +0000
commitb2557211cb23035c7aafc0311c15b05b214a8352 (patch)
tree551b776c37ba0c5893ad11e14609420197476e4e /src
parent6fa66b84143d5fd74d7b3aed615777801d31a08d (diff)
downloadcoreutils-b2557211cb23035c7aafc0311c15b05b214a8352.tar.xz
(do_link): Invoke xalloc_die instead of printing our own message.
Diffstat (limited to 'src')
-rw-r--r--src/ln.c2
1 files changed, 1 insertions, 1 deletions
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);