summaryrefslogtreecommitdiff
path: root/install.c
diff options
context:
space:
mode:
Diffstat (limited to 'install.c')
-rw-r--r--install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.c b/install.c
index 5133f3f82..7e092703f 100644
--- a/install.c
+++ b/install.c
@@ -328,7 +328,7 @@ int doUninstall(char * rootdir, char ** argv, int uninstallFlags,
numFailed++;
}
else {
- numPackages += matches.count;
+ numPackages += count;
if (numPackages > packageOffsetsAlloced) {
packageOffsetsAlloced = numPackages + 5;
packageOffsets = realloc(packageOffsets,