diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2009-11-03 13:00:38 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2009-11-03 13:00:38 +0000 |
commit | 7419173f963dfc3facbd841b5fa14f3db8d01300 (patch) | |
tree | ccf8db3b9b20e8215edbd6fb41ef04a832ecabaf | |
parent | 654c058abb99d2bc90e8bbe75d3adab9cbf88c24 (diff) |
print the correct info (need some tweaks yet to be shorter).
-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 e940a3378d5..920cab8b68c 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.367 2009/11/03 10:15:18 espie Exp $ +# $OpenBSD: pkg_add,v 1.368 2009/11/03 13:00:37 espie Exp $ # # Copyright (c) 2003-2009 Marc Espie <espie@openbsd.org> # @@ -86,7 +86,7 @@ sub deptree_header { my ($state, $pkg) = @_; if (defined $state->{deptree}->{$pkg}) { - return $state->{deptree}->{$pkg}.':'; + return $state->{deptree}->{$pkg}->short_print.':'; } else { return ''; } |