From f2cbe59e113f08549949a76ac5b9b3972df4cc30 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 18 Dec 2014 01:35:58 +0100 Subject: machinectl: add new commands for copying files from/to containers --- src/shared/btrfs-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/btrfs-util.c') diff --git a/src/shared/btrfs-util.c b/src/shared/btrfs-util.c index fcf543a465..492d7fc777 100644 --- a/src/shared/btrfs-util.c +++ b/src/shared/btrfs-util.c @@ -122,7 +122,7 @@ int btrfs_subvol_snapshot(const char *old_path, const char *new_path, bool read_ if (r < 0) return r; - r = copy_tree_fd(old_fd, new_path, true); + r = copy_directory_fd(old_fd, new_path, true); if (r < 0) { btrfs_subvol_remove(new_path); return r; -- cgit v1.2.1