diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2023-10-11 13:52:30 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2023-10-11 13:52:30 +0000 |
commit | 044f034bd1f26139bde73293f22eff965501523d (patch) | |
tree | cfadfe81d857dfdb9589878cb00c10b37098dd11 | |
parent | 130a52b79396a43e7e0c51ecddce8682ea582bec (diff) |
missing state in locator call, surprised nobody else ran into that
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PkgAdd.pm | 4 |
1 files 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 <espie@openbsd.org> # @@ -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"); |