From 16ba533515400205c7877b0cff33d6e7d6f57ad1 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Sun, 29 Apr 2007 11:09:30 +0000 Subject: replace $p->visit('method') calls with $p->method now that it works. --- usr.sbin/pkg_add/OpenBSD/Add.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/pkg_add/OpenBSD/Add.pm') diff --git a/usr.sbin/pkg_add/OpenBSD/Add.pm b/usr.sbin/pkg_add/OpenBSD/Add.pm index c2fda7e4a57..fafb859e5ec 100644 --- a/usr.sbin/pkg_add/OpenBSD/Add.pm +++ b/usr.sbin/pkg_add/OpenBSD/Add.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Add.pm,v 1.51 2007/04/15 10:17:29 espie Exp $ +# $OpenBSD: Add.pm,v 1.52 2007/04/29 11:09:29 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie # @@ -65,7 +65,7 @@ sub validate_plist($$) my $totsize = 0; my $colliding = []; - $plist->visit('validate', $state, \$problems, $colliding, \$totsize, $plist->pkgname()); + $plist->validate($state, \$problems, $colliding, \$totsize, $plist->pkgname()); if (@$colliding > 0) { require OpenBSD::CollisionReport; -- cgit v1.2.3