diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2015-01-15 19:16:18 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2015-01-15 19:16:18 +0000 |
commit | 62fff867f365c7c535cd59ec69aed8d6c25f8a7a (patch) | |
tree | d39c37eb4ca5fb8bb0835d2b47f6438e21090dd7 /usr.sbin | |
parent | 63c865ac060120368ee14f28a8c335998c30210e (diff) |
oops, forgotten back-pointer to state for error messages
problem noticed by jca@
Diffstat (limited to 'usr.sbin')
-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}); } |