diff options
author | 2015-01-15 19:16:17 +0000 | |
---|---|---|
committer | 2015-01-15 19:16:17 +0000 | |
commit | fcc57d29274fb8023c6d9fe3915ab9a923d0a11c (patch) | |
tree | 7a0d6b2bf7a57fe64c57b197ae636b36bc0a7bc5 | |
parent | remove .Tn; from Jan Stary <hans at stare dot cz> (diff) | |
download | wireguard-openbsd-fcc57d29274fb8023c6d9fe3915ab9a923d0a11c.tar.xz wireguard-openbsd-fcc57d29274fb8023c6d9fe3915ab9a923d0a11c.zip |
oops, forgotten back-pointer to state for error messages
problem noticed by jca@
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/FwUpdate.pm | 4 |
1 files 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 <espie@openbsd.org> # @@ -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}); } |