From f04df370e6b790cb0dee23405969f42f8e885107 Mon Sep 17 00:00:00 2001 From: espie Date: Wed, 11 Oct 2023 13:52:29 +0000 Subject: [PATCH] missing state in locator call, surprised nobody else ran into that --- usr.sbin/pkg_add/OpenBSD/PkgAdd.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm index ad97455ef2a..414187e9c32 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgAdd.pm,v 1.144 2023/10/07 09:11:26 espie Exp $ +# $OpenBSD: PkgAdd.pm,v 1.145 2023/10/11 13:52:29 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie # @@ -1081,7 +1081,7 @@ sub may_grab_debug_for($class, $orig, $kept, $state) sub grab_debug_package($class, $d, $dbg, $state) { - my $o = $state->locator->find($dbg); + my $o = $state->locator->find($dbg, $state); return if !defined $o; require OpenBSD::Temp; my ($fh, $name) = OpenBSD::Temp::permanent_file($d, "debug-pkg"); -- 2.20.1