diff options
author | Bernd Ahlers <bernd@cvs.openbsd.org> | 2006-04-22 10:31:45 +0000 |
---|---|---|
committer | Bernd Ahlers <bernd@cvs.openbsd.org> | 2006-04-22 10:31:45 +0000 |
commit | aba3e3845851de7b47b7f9ef21cbba6fcccffb91 (patch) | |
tree | e48ce352382908c01614db49ca5c7739a66d01e6 /usr.sbin | |
parent | 36c4a7d6051918280f559f2d0a8704f831600d03 (diff) |
Pass over the right object to OpenBSD::Delete::validate_plist().
This fixes an error while checking for collision with old libs.
okay espie@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Replace.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Replace.pm b/usr.sbin/pkg_add/OpenBSD/Replace.pm index 625f267ba6b..6078dbaf584 100644 --- a/usr.sbin/pkg_add/OpenBSD/Replace.pm +++ b/usr.sbin/pkg_add/OpenBSD/Replace.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Replace.pm,v 1.1 2006/03/04 11:31:18 espie Exp $ +# $OpenBSD: Replace.pm,v 1.2 2006/04/22 10:31:44 bernd Exp $ # # Copyright (c) 2004 Marc Espie <espie@openbsd.org> # @@ -547,7 +547,7 @@ sub figure_out_libs todelete => $dummy, empty => $empty}); require OpenBSD::Delete; - OpenBSD::Delete::validate_plist($dummy, $state); + OpenBSD::Delete::validate_plist($p, $state); } else { print "none found\n" if $state->{verbose}; } |