summaryrefslogtreecommitdiff
path: root/src/mv.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-08-08 10:53:23 +0000
committerJim Meyering <jim@meyering.net>2000-08-08 10:53:23 +0000
commit129ede91adbf47ad523073c3c346c1a5a72745fa (patch)
tree586ddb430866d9c2b7d1962f2603863a2884fc52 /src/mv.c
parentc5e73d1f4ab9da79b03716278e972e994d581bd7 (diff)
downloadcoreutils-129ede91adbf47ad523073c3c346c1a5a72745fa.tar.xz
(movefile): Invoke xalloc_die instead of printing our own message.
Diffstat (limited to 'src/mv.c')
-rw-r--r--src/mv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mv.c b/src/mv.c
index 3fc02be7b..6551b96f8 100644
--- a/src/mv.c
+++ b/src/mv.c
@@ -324,7 +324,7 @@ movefile (char *source, char *dest, int dest_is_dir,
src_basename = base_name (source);
new_dest = path_concat (dest, src_basename, NULL);
if (new_dest == NULL)
- error (1, 0, _("virtual memory exhausted"));
+ xalloc_die ();
fail = do_move (source, new_dest, x);
/* Do not free new_dest. It may have been squirreled away by