summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/Add.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-04-29 11:09:30 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-04-29 11:09:30 +0000
commit16ba533515400205c7877b0cff33d6e7d6f57ad1 (patch)
tree0d84df8b2d9251318c42383c2606a611e0263aff /usr.sbin/pkg_add/OpenBSD/Add.pm
parent21aa3452cd88d4bf64fcc6623307518ff82b5c87 (diff)
replace $p->visit('method') calls with $p->method
now that it works.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Add.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Add.pm4
1 files changed, 2 insertions, 2 deletions
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 <espie@openbsd.org>
#
@@ -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;