summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Kraai2001-11-19 21:07:15 +0000
committerMatt Kraai2001-11-19 21:07:15 +0000
commitefd7f03657eae50bcec8bfe2d0bb67c2819a4a8b (patch)
tree3af495c63c66b4600b6c499659748b950708c931
parent4e05da89f3629b6c763f1821afaeee8beb6bb56d (diff)
downloadbusybox-efd7f03657eae50bcec8bfe2d0bb67c2819a4a8b.zip
busybox-efd7f03657eae50bcec8bfe2d0bb67c2819a4a8b.tar.gz
Fix opt type in dpkg (closes: #118975).
-rw-r--r--Changelog1
-rw-r--r--archival/dpkg.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog b/Changelog
index 568852a..41b2358 100644
--- a/Changelog
+++ b/Changelog
@@ -23,6 +23,7 @@
-- Fix tar segfault when include list is empty and exclude list is
not.
-- Fix sed s/$/@/ handling (noted by Joshua Hudson).
+ -- Fix opt type in dpkg (closes: #118975).
* Magick
-- made init run inittab command's in the order they show up
in the inittab file (FIFO instead of LIFO).
diff --git a/archival/dpkg.c b/archival/dpkg.c
index 88cf8b8..9a3bff9 100644
--- a/archival/dpkg.c
+++ b/archival/dpkg.c
@@ -1332,7 +1332,7 @@ extern int dpkg_main(int argc, char **argv)
{
deb_file_t **deb_file = NULL;
status_node_t *status_node;
- char opt = 0;
+ int opt;
int package_num;
int dpkg_opt = 0;
int deb_count = 0;