]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Merge pull request #1240 from ferdnyc/zstd-test-range
authorMartin Matuška <martin@matuska.org>
Tue, 3 Sep 2019 20:19:22 +0000 (22:19 +0200)
committerGitHub <noreply@github.com>
Tue, 3 Sep 2019 20:19:22 +0000 (22:19 +0200)
test_write_filter_zstd: Compare output sizes across wider range

libarchive/archive_write_disk_posix.c

index 283f3e787678abb7ca9dc7fb773913955fd33dff..6ae8a6a89bbf446b5da5a16b45fa451900552836 100644 (file)
@@ -431,7 +431,7 @@ la_opendirat(int fd, const char *path) {
                errno = ENOTSUP;
                return (-1);
        } else
-               return (open(fd, path, flags));
+               return (open(path, flags));
 #else
        return (openat(fd, path, flags));
 #endif