From d98e4cf016f293d92c857158497f292d4d60ca66 Mon Sep 17 00:00:00 2001 From: Ondrej Kozina Date: Fri, 31 Jan 2014 15:32:35 +0100 Subject: [PATCH] - StreamProcessor::get_root_id() returns bool --- snapper/Btrfs.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snapper/Btrfs.cc b/snapper/Btrfs.cc index ebfa7e49..0d828b03 100644 --- a/snapper/Btrfs.cc +++ b/snapper/Btrfs.cc @@ -1103,7 +1103,7 @@ namespace snapper u64 parent_root_id = 0; string name1 = string(dir1.fullname(), base.fullname().size() + 1); - if (get_root_id(name1, &parent_root_id) < 0) + if (!get_root_id(name1, &parent_root_id)) { y2err("could not resolve root_id for " << name1); throw BtrfsSendReceiveException(); -- 2.47.3