summaryrefslogtreecommitdiff
path: root/dpkg_deb.c
diff options
context:
space:
mode:
Diffstat (limited to 'dpkg_deb.c')
-rw-r--r--dpkg_deb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpkg_deb.c b/dpkg_deb.c
index 450b04b..3cdd4ff 100644
--- a/dpkg_deb.c
+++ b/dpkg_deb.c
@@ -68,7 +68,7 @@ extern int dpkg_deb_main(int argc, char **argv)
strcpy(target_dir, argv[optind + 1]);
}
}
- deb_extract(optflag, target_dir, argv[optind]);
+ deb_extract(argv[optind], optflag, target_dir);
/* else if (optflag & dpkg_deb_info) {
extract_flag = TRUE;
extract_to_stdout = TRUE;