From fcc57d29274fb8023c6d9fe3915ab9a923d0a11c Mon Sep 17 00:00:00 2001 From: espie Date: Thu, 15 Jan 2015 19:16:17 +0000 Subject: [PATCH] oops, forgotten back-pointer to state for error messages problem noticed by jca@ --- usr.sbin/pkg_add/OpenBSD/FwUpdate.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/pkg_add/OpenBSD/FwUpdate.pm b/usr.sbin/pkg_add/OpenBSD/FwUpdate.pm index 05a4aa1d2e9..048cfd734e4 100644 --- a/usr.sbin/pkg_add/OpenBSD/FwUpdate.pm +++ b/usr.sbin/pkg_add/OpenBSD/FwUpdate.pm @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: FwUpdate.pm,v 1.8 2015/01/05 16:32:28 espie Exp $ +# $OpenBSD: FwUpdate.pm,v 1.9 2015/01/15 19:16:17 espie Exp $ # # Copyright (c) 2014 Marc Espie # @@ -63,7 +63,7 @@ sub handle_options $state->usage; } $state->{fw_repository} = - OpenBSD::PackageRepository->new($state->{path}); + OpenBSD::PackageRepository->new($state->{path}, $state); if ($state->verbose) { $state->say("Path to firmware: #1", $state->{path}); } -- 2.20.1