summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2011-08-18 07:54:00 +0000
committerMarc Espie <espie@cvs.openbsd.org>2011-08-18 07:54:00 +0000
commit174cbad593593683faf8c4d900c05d89a7116346 (patch)
tree8d3cb696b585abcd289fbd817bbc486a7e81f71a /usr.sbin
parentb625afe6d5727f59623a59502962b20bdcb0fcea (diff)
tweak
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackageInfo.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm b/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm
index 4b3098f9c44..6902f2f237a 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.54 2011/07/12 10:30:29 espie Exp $
+# $OpenBSD: PackageInfo.pm,v 1.55 2011/08/18 07:53:59 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -125,7 +125,8 @@ sub installed_info
sub installed_contents
{
- return installed_info(shift).CONTENTS;
+ my $name = shift;
+ return installed_info($name).CONTENTS;
}
sub borked_package