summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2013-12-23 13:29:42 +0000
committerMarc Espie <espie@cvs.openbsd.org>2013-12-23 13:29:42 +0000
commita23760fd64ece5015e7578242c06dec446e2a767 (patch)
treeb4ace71bfde020afb14fc4c0e831efbca3ec4141 /usr.sbin
parent7ced32beaa6a463c65672703e6a9be5e9843183e (diff)
interface bug: visit_with_size has a state parameter.
I've been lucky that I've not invoked it with more parameters so far...
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/ProgressMeter.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/ProgressMeter.pm b/usr.sbin/pkg_add/OpenBSD/ProgressMeter.pm
index 5d1e6675c00..45491216526 100644
--- a/usr.sbin/pkg_add/OpenBSD/ProgressMeter.pm
+++ b/usr.sbin/pkg_add/OpenBSD/ProgressMeter.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: ProgressMeter.pm,v 1.38 2010/12/24 09:04:14 espie Exp $
+# $OpenBSD: ProgressMeter.pm,v 1.39 2013/12/23 13:29:41 espie Exp $
#
# Copyright (c) 2010 Marc Espie <espie@openbsd.org>
#
@@ -84,7 +84,7 @@ sub ntogo
sub visit_with_size
{
- my ($progress, $plist, $method, @r) = @_;
+ my ($progress, $plist, $method, $state, @r) = @_;
$plist->$method(@r);
}