aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-11-19 21:07:15 +0000
committerMatt Kraai <kraai@debian.org>2001-11-19 21:07:15 +0000
commitefd7f03657eae50bcec8bfe2d0bb67c2819a4a8b (patch)
tree3af495c63c66b4600b6c499659748b950708c931
parent4e05da89f3629b6c763f1821afaeee8beb6bb56d (diff)
downloadbusybox-w32-efd7f03657eae50bcec8bfe2d0bb67c2819a4a8b.tar.gz
busybox-w32-efd7f03657eae50bcec8bfe2d0bb67c2819a4a8b.tar.bz2
busybox-w32-efd7f03657eae50bcec8bfe2d0bb67c2819a4a8b.zip
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 568852a46..41b2358d2 100644
--- a/Changelog
+++ b/Changelog
@@ -23,6 +23,7 @@
23 -- Fix tar segfault when include list is empty and exclude list is 23 -- Fix tar segfault when include list is empty and exclude list is
24 not. 24 not.
25 -- Fix sed s/$/@/ handling (noted by Joshua Hudson). 25 -- Fix sed s/$/@/ handling (noted by Joshua Hudson).
26 -- Fix opt type in dpkg (closes: #118975).
26 * Magick 27 * Magick
27 -- made init run inittab command's in the order they show up 28 -- made init run inittab command's in the order they show up
28 in the inittab file (FIFO instead of LIFO). 29 in the inittab file (FIFO instead of LIFO).
diff --git a/archival/dpkg.c b/archival/dpkg.c
index 88cf8b872..9a3bff979 100644
--- a/archival/dpkg.c
+++ b/archival/dpkg.c
@@ -1332,7 +1332,7 @@ extern int dpkg_main(int argc, char **argv)
1332{ 1332{
1333 deb_file_t **deb_file = NULL; 1333 deb_file_t **deb_file = NULL;
1334 status_node_t *status_node; 1334 status_node_t *status_node;
1335 char opt = 0; 1335 int opt;
1336 int package_num; 1336 int package_num;
1337 int dpkg_opt = 0; 1337 int dpkg_opt = 0;
1338 int deb_count = 0; 1338 int deb_count = 0;