summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2009-11-09 17:48:00 +0000
committerMarc Espie <espie@cvs.openbsd.org>2009-11-09 17:48:00 +0000
commit64d8991878c299e48cc774a7bf3f856b614af8f0 (patch)
tree9b49decdeaf298dec10a455b1cb6b2bd566e17f6 /usr.sbin
parent4b765147605a5b57b03b60f5504465afd29d13c1 (diff)
fix. cant_update list is again a simple list of names.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/pkg_add4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add
index 8850525cc10..63f300a8429 100644
--- a/usr.sbin/pkg_add/pkg_add
+++ b/usr.sbin/pkg_add/pkg_add
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: pkg_add,v 1.373 2009/11/08 12:16:23 espie Exp $
+# $OpenBSD: pkg_add,v 1.374 2009/11/09 17:47:59 espie Exp $
#
# Copyright (c) 2003-2009 Marc Espie <espie@openbsd.org>
#
@@ -742,7 +742,7 @@ if ($opt_l || $opt_z) {
my @cantupdate = $state->tracker->cant_update;
if (@cantupdate > 0) {
- print "Cannot find updates for ", join(', ', map {$_->short_print} (@cantupdate > 50 ? @cantupdate[1..50] : @cantupdate));
+ print "Cannot find updates for ", join(', ', (@cantupdate > 50 ? @cantupdate[1..50] : @cantupdate));
print " and more" if @cantupdate > 50;
print "\n";
if (@todo2 == 0) {