summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2009-12-31 14:14:09 +0000
committerMarc Espie <espie@cvs.openbsd.org>2009-12-31 14:14:09 +0000
commita6eae2a3fb47a364ae2ca7dc915cbe78af59818d (patch)
tree8b70f198dc82b420e295448a316c354d054a70a5 /usr.sbin
parent6c48a0797c3ce6da990d15cfd72f07f067df8e92 (diff)
oops, actually report issues
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/SharedLibs.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm b/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm
index ead08993e67..bba095ff901 100644
--- a/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm
+++ b/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: SharedLibs.pm,v 1.43 2009/12/31 13:25:03 espie Exp $
+# $OpenBSD: SharedLibs.pm,v 1.44 2009/12/31 14:14:08 espie Exp $
#
# Copyright (c) 2003-2005 Marc Espie <espie@openbsd.org>
#
@@ -215,7 +215,7 @@ sub report_problem
my $r = "";
if (!defined $stem) {
$r = "| bad library specification\n";
- } elsif (!defined $registered_libs->{stem}) {
+ } elsif (!defined $registered_libs->{$stem}) {
$r = "| not found anywhere\n";
} else {
while (my ($d, $v) = each %{$registered_libs->{$stem}}) {