From: Arvin Schnell Date: Thu, 24 Oct 2013 15:37:12 +0000 (+0200) Subject: - adapted to libbtrfs change X-Git-Tag: v0.1.8~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=301f2d22b52714bd5d1af9489593c971bc67f3e7;p=thirdparty%2Fsnapper.git - adapted to libbtrfs change --- diff --git a/snapper/Btrfs.cc b/snapper/Btrfs.cc index 2c110c30..ebfa7e49 100644 --- a/snapper/Btrfs.cc +++ b/snapper/Btrfs.cc @@ -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) {