summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2023-05-27 10:02:39 +0000
committerMarc Espie <espie@cvs.openbsd.org>2023-05-27 10:02:39 +0000
commit4d745b9d5224dd5618a3331ffe86e05f35c76fa3 (patch)
treef2ca09ea31145b0e5af484e44ca46bf64fd1323c /usr.sbin
parent6fdee4fe02bfe36a805a7f384b59ae21d55dd320 (diff)
prepare for 5.36: pass $code as @code so that we don't have
to decide a default right away (I should apply this everywhere I go to read a plist actually)
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackageRepository.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm b/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm
index a43ac6df4e4..405d6abcb41 100644
--- a/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PackageRepository.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: PackageRepository.pm,v 1.174 2023/05/20 09:30:57 espie Exp $
+# $OpenBSD: PackageRepository.pm,v 1.175 2023/05/27 10:02:38 espie Exp $
#
# Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org>
#
@@ -272,10 +272,10 @@ sub find
sub grabPlist
{
- my ($repository, $name, $code) = @_;
+ my ($repository, $name, @code) = @_;
my $self = $repository->new_location($name);
- return $self->grabPlist($code);
+ return $self->grabPlist(@code);
}
sub parse_problems