summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2011-11-26 17:27:58 +0000
committerMarc Espie <espie@cvs.openbsd.org>2011-11-26 17:27:58 +0000
commit3d3e5de2857180288b454da55b798ea3347e5080 (patch)
tree65ac5a4dbcd5714a7afcd981589b431ebb069041 /usr.sbin
parent2dcffed7ef84c2009020f2c105db781e9a7dff18 (diff)
fix reporting of weird libs in partial-*, as seen by fries@,
who always manages to run into strange corners headlong ;)
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgCheck.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm b/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm
index edf23c7922a..a59c359b8cd 100644
--- a/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: PkgCheck.pm,v 1.30 2011/07/17 09:56:12 espie Exp $
+# $OpenBSD: PkgCheck.pm,v 1.31 2011/11/26 17:27:57 espie Exp $
#
# Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org>
#
@@ -518,7 +518,7 @@ sub sanity_check
$state->safe($name));
$self->may_remove($state, $name);
}
- $plist->mark_available_lib($plist->pkgname);
+ $plist->mark_available_lib($plist->pkgname, $state);
$state->{exists}{$plist->pkgname} = 1;
});
}