summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2010-07-02 11:41:31 +0000
committerMarc Espie <espie@cvs.openbsd.org>2010-07-02 11:41:31 +0000
commit2586bd93cdbe6e01a62cc9ed88ea7c770fa76448 (patch)
tree9e9bd7d874d51d16a8cf0fe6a49fcbf164712c07 /usr.sbin
parent2ded2b63229bdf7a5a6d0c01d82c2a1be5a1dd19 (diff)
fix params so that state is state and not PackageLocator...
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackageLocator.pm4
1 files changed, 2 insertions, 2 deletions
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 <espie@openbsd.org>
#
@@ -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}) {