]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- adapted to libbtrfs change
authorArvin Schnell <aschnell@suse.de>
Thu, 24 Oct 2013 15:37:12 +0000 (17:37 +0200)
committerArvin Schnell <aschnell@suse.de>
Thu, 24 Oct 2013 15:37:12 +0000 (17:37 +0200)
snapper/Btrfs.cc

index 2c110c3079e7cdeb6bb59e106d5dffdd8985446f..ebfa7e490344fbc0d59bfd2d4d80678f3ea12c72 100644 (file)
@@ -982,7 +982,8 @@ namespace snapper
        {
            boost::this_thread::interruption_point();
 
-           int r = btrfs_read_and_process_send_stream(fd, &send_ops, &*this);
+            // remove the fourth parameter for older versions of libbtrfs
+           int r = btrfs_read_and_process_send_stream(fd, &send_ops, &*this, 0);
 
            if (r < 0)
            {