diff --git a/src/sparse.c b/src/sparse.c index 61561f45..22ba32fa 100644 --- a/src/sparse.c +++ b/src/sparse.c @@ -568,7 +568,10 @@ sparse_extract_file (int fd, struct tar_stat_info *st, off_t *size) size_t i; if (!tar_sparse_init (&file)) - return dump_status_not_implemented; + { + *size = st->stat.st_size; + return dump_status_not_implemented; + } file.stat_info = st; file.fd = fd;