diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2013-04-16 09:33:21 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2013-04-16 09:33:21 +0000 |
commit | 4f312c5871e51c61db2abbfe9868f022319c523f (patch) | |
tree | 2a88c71dcda104531a9947aa3f1129944f44b870 /usr.sbin/pkg_add | |
parent | 1c7bd24c73235edb192e96f37f026c0d91e140b8 (diff) |
pass state correctly so we can do error messages.
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Vstat.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Vstat.pm b/usr.sbin/pkg_add/OpenBSD/Vstat.pm index 5aafcc95070..2aa42d37576 100644 --- a/usr.sbin/pkg_add/OpenBSD/Vstat.pm +++ b/usr.sbin/pkg_add/OpenBSD/Vstat.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Vstat.pm,v 1.65 2011/06/16 10:58:12 espie Exp $ +# $OpenBSD: Vstat.pm,v 1.66 2013/04/16 09:33:20 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -274,7 +274,7 @@ sub run sub ask_mount { - my ($class, $state) = shift; + my ($class, $state) = @_; delete $ENV{'BLOCKSIZE'}; run($state, OpenBSD::Paths->mount, sub { |