From 7903b042ec0f517076c5cb6e887a9c797b17c57b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 17 Feb 2017 15:08:44 +0100 Subject: [PATCH] tests: fix build of opkg_extract_test Signed-off-by: Jo-Philipp Wich --- tests/opkg_extract_test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/opkg_extract_test.c b/tests/opkg_extract_test.c index 01d2af9..ba041a8 100644 --- a/tests/opkg_extract_test.c +++ b/tests/opkg_extract_test.c @@ -24,6 +24,7 @@ int main(int argc, char *argv[]) extract_control_tar_gz | extract_all_to_fs | extract_preserve_date; char *returned; char *filename; + int err; if (argc < 2) { fprintf(stderr, "syntax: %s []\n", @@ -37,7 +38,7 @@ int main(int argc, char *argv[]) filename = argv[2]; } - returned = deb_extract(argv[1], stdout, dowhat, NULL, filename); + returned = deb_extract(argv[1], stdout, dowhat, NULL, filename, &err); if (returned) fprintf(stderr, "returned %s\n", returned); -- 2.30.2