From: espie Date: Thu, 15 Jan 2015 19:16:17 +0000 (+0000) Subject: oops, forgotten back-pointer to state for error messages X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=fcc57d29274fb8023c6d9fe3915ab9a923d0a11c;p=openbsd oops, forgotten back-pointer to state for error messages problem noticed by jca@ --- 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}); }