diff options
author | Jim Meyering <jim@meyering.net> | 2000-08-08 06:53:14 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-08-08 06:53:14 +0000 |
commit | b6bacc5dcf7840ee7f2c187a2d3139522e69c779 (patch) | |
tree | e22963b270bbdc3d7d71f71476435ff626b17f8e /src | |
parent | 3424a30611a4bfd7a050b5bae74acb47c427b42f (diff) | |
download | coreutils-b6bacc5dcf7840ee7f2c187a2d3139522e69c779.tar.xz |
Invoke xalloc_die instead of printing our own message.
Diffstat (limited to 'src')
-rw-r--r-- | src/cp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -528,7 +528,7 @@ do_copy (int n_files, char **file, const char *target_directory, /* Append all of `arg' to `dest'. */ dst_path = path_concat (dest, arg, &arg_in_concat); if (dst_path == NULL) - error (1, 0, _("virtual memory exhausted")); + xalloc_die (); /* For --parents, we have to make sure that the directory dir_name (dst_path) exists. We may have to create a few @@ -615,7 +615,7 @@ do_copy (int n_files, char **file, const char *target_directory, x = &x_tmp; if (new_dest == NULL) - error (1, 0, _("virtual memory exhausted")); + xalloc_die (); } /* When the destination is specified with a trailing slash and the |