summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
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 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 '';
}