summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackageInfo.pm4
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Update.pm4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm b/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm
index 723ed8f918e..2bec8fb57e6 100644
--- a/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: PackageInfo.pm,v 1.41 2009/11/10 11:36:56 espie Exp $
+# $OpenBSD: PackageInfo.pm,v 1.42 2009/11/11 11:18:24 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -256,7 +256,7 @@ sub solve_installed_names
if ($state->{defines}->{ambiguous}) {
my @l = map {$_->name} @$r;
- $state->progress->print("Ambiguous: $pkgname could be ", join(' ', @l),"\n");
+ $state->print("Ambiguous: $pkgname could be ", join(' ', @l),"\n");
print "$msg\n";
push(@$new, @l);
for my $p (@$r) {
diff --git a/usr.sbin/pkg_add/OpenBSD/Update.pm b/usr.sbin/pkg_add/OpenBSD/Update.pm
index 53b5dfd42a6..261656fa470 100644
--- a/usr.sbin/pkg_add/OpenBSD/Update.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Update.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Update.pm,v 1.91 2009/11/10 11:36:56 espie Exp $
+# $OpenBSD: Update.pm,v 1.92 2009/11/11 11:18:24 espie Exp $
#
# Copyright (c) 2004-2006 Marc Espie <espie@openbsd.org>
#
@@ -126,7 +126,7 @@ sub process_handle
}
}
- $state->progress->print("Candidates for updating $pkgname -> ", join(' ', map {$_->name} @$l), "\n");
+ $state->print("Candidates for updating $pkgname -> ", join(' ', map {$_->name} @$l), "\n");
my $r = $state->choose_location($pkgname, $l);
if (defined $r) {