From aba3e3845851de7b47b7f9ef21cbba6fcccffb91 Mon Sep 17 00:00:00 2001 From: Bernd Ahlers Date: Sat, 22 Apr 2006 10:31:45 +0000 Subject: Pass over the right object to OpenBSD::Delete::validate_plist(). This fixes an error while checking for collision with old libs. okay espie@ --- usr.sbin/pkg_add/OpenBSD/Replace.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin') 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 # @@ -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}; } -- cgit v1.2.3