summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2010-08-03 14:07:28 +0000
committerMarc Espie <espie@cvs.openbsd.org>2010-08-03 14:07:28 +0000
commit834e5ec035e2b504441120f9fc152ec17a38fb23 (patch)
treeb0c19bc4edbb26e64df46554be2daeef858c7edf
parentede3e612e2f75814674a3d59db92555c37d359f7 (diff)
use proper log idiom (blanket okay from theo for pkg_add careful changes for
the time being)
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackingElement.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
index c384c8f5288..801a3f60ddf 100644
--- a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: PackingElement.pm,v 1.182 2010/06/30 10:51:04 espie Exp $
+# $OpenBSD: PackingElement.pm,v 1.183 2010/08/03 14:07:27 espie Exp $
#
# Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org>
#
@@ -1622,7 +1622,7 @@ sub prepare
chomp;
next if m/^\+\-+\s*$/o;
s/^[+-] //o;
- $state->log($_);
+ $state->log("#1", $_);
}
} else {
$state->errsay("Can't open #1: #2", $fname, $!);