From f6c952a4b6da05ec98a5d9d030d1d5df9d7842d4 Mon Sep 17 00:00:00 2001 From: espie Date: Fri, 16 Jun 2023 10:08:17 +0000 Subject: [PATCH] no extra params there, to be revisited --- usr.sbin/pkg_add/OpenBSD/PkgDelete.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/pkg_add/OpenBSD/PkgDelete.pm b/usr.sbin/pkg_add/OpenBSD/PkgDelete.pm index dc1eaed32ea..44634ce2e1f 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgDelete.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgDelete.pm @@ -1,6 +1,6 @@ #!/usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgDelete.pm,v 1.49 2023/06/13 09:07:17 espie Exp $ +# $OpenBSD: PkgDelete.pm,v 1.50 2023/06/16 10:08:17 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie # @@ -170,7 +170,7 @@ sub create_locations($state, @l) my $inst = $state->repo->installed; my $result = []; for my $name (@l) { - my $l = $inst->find($name, $state->{arch}); + my $l = $inst->find($name); if (!defined $l) { $state->errsay("Can't find #1 in installed packages", $name); -- 2.20.1