]> git.ipfire.org Git - thirdparty/tar.git/commitdiff
Bugfix
authorSergey Poznyakoff <gray@gnu.org>
Wed, 3 Jun 2020 06:31:41 +0000 (09:31 +0300)
committerSergey Poznyakoff <gray@gnu.org>
Wed, 3 Jun 2020 06:31:41 +0000 (09:31 +0300)
* src/sparse.c (sparse_diff_file): Fix return value.

src/sparse.c

index 08ddb648260e130452a72aa8b1fb7887f1836acb..e60b16ad15d505e2016e69ef215ba41382b7dcd7 100644 (file)
@@ -702,7 +702,7 @@ sparse_diff_file (int fd, struct tar_stat_info *st)
   off_t offset = 0;
 
   if (!tar_sparse_init (&file))
-    return dump_status_not_implemented;
+    return false;
 
   file.stat_info = st;
   file.fd = fd;