diff options
author | 2009-11-09 17:47:59 +0000 | |
---|---|---|
committer | 2009-11-09 17:47:59 +0000 | |
commit | 24f319da5dcb61756df48499bd23a490f7d372ab (patch) | |
tree | 900e3d88961a620014899088964e05018fa8b886 | |
parent | Make sure we correctly return failure in l1_serial_ppp_read() when a read (diff) | |
download | wireguard-openbsd-24f319da5dcb61756df48499bd23a490f7d372ab.tar.xz wireguard-openbsd-24f319da5dcb61756df48499bd23a490f7d372ab.zip |
fix. cant_update list is again a simple list of names.
-rw-r--r-- | usr.sbin/pkg_add/pkg_add | 4 |
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) { |