projects
/
project
/
opkg-lede.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6e6c5a
)
tests: fix build of opkg_extract_test
author
Jo-Philipp Wich
<jo@mein.io>
Fri, 17 Feb 2017 14:08:44 +0000
(15:08 +0100)
committer
Jo-Philipp Wich
<jo@mein.io>
Fri, 17 Feb 2017 14:08:44 +0000
(15:08 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
tests/opkg_extract_test.c
patch
|
blob
|
history
diff --git
a/tests/opkg_extract_test.c
b/tests/opkg_extract_test.c
index 01d2af9b219f00ade44cace68317dd73151dbcfc..ba041a8cb0c29bea665f8676e7f4d726342b74c8 100644
(file)
--- 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 <opkg file> [<file_to_extract>]\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);