summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2010-06-09 07:26:02 +0000
committerMarc Espie <espie@cvs.openbsd.org>2010-06-09 07:26:02 +0000
commitba752ba29cd01e2c98ab76e540d6daf77a044531 (patch)
tree808a9a75326ddcc5fbb15fb87e7aab53916307a3 /usr.sbin/pkg_add/OpenBSD/PackageInfo.pm
parentbfffdd6a0c140d376362ad6d0fb26390a851a80c (diff)
ui changes: go thru a state object for most printouts
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PackageInfo.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackageInfo.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm b/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm
index 6515ad2b1a2..307033643a9 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.46 2010/06/04 13:19:39 espie Exp $
+# $OpenBSD: PackageInfo.pm,v 1.47 2010/06/09 07:26:01 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -257,8 +257,8 @@ sub solve_installed_names
if ($state->defines('ambiguous')) {
my @l = map {$_->name} @$r;
- $state->say("Ambiguous: $pkgname could be ",
- join(' ', @l));
+ $state->say("Ambiguous: #1 could be #2",
+ $pkgname, join(' ', @l));
$state->say($msg);
push(@$new, @l);
for my $p (@$r) {