From 2586bd93cdbe6e01a62cc9ed88ea7c770fa76448 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Fri, 2 Jul 2010 11:41:31 +0000 Subject: fix params so that state is state and not PackageLocator... --- usr.sbin/pkg_add/OpenBSD/PackageLocator.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin') diff --git a/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm b/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm index 09741f4bbea..99c1f884ea1 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackageLocator.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackageLocator.pm,v 1.93 2010/07/02 11:17:46 espie Exp $ +# $OpenBSD: PackageLocator.pm,v 1.94 2010/07/02 11:41:30 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie # @@ -28,7 +28,7 @@ my $default_path; sub default_path { if (!defined $default_path) { - my $state = shift; + my ($self, $state) = @_; $default_path = OpenBSD::PackageRepositoryList->new($state); if (defined $ENV{PKG_PATH}) { -- cgit v1.2.3