summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2010-06-14 08:16:15 +0000
committerMarc Espie <espie@cvs.openbsd.org>2010-06-14 08:16:15 +0000
commit4a4dc09839da9372a5699275901ebab15fda415f (patch)
tree105bcb0d41baa45d9562f0dd19a0fb2c70b6f778 /usr.sbin/pkg_add/OpenBSD/PkgCheck.pm
parente834fcd4ecac4135ad6e8ed7ea7be646efaea5cd (diff)
log must use ->f
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PkgCheck.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgCheck.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm b/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm
index df1c11ac096..1dbb673e298 100644
--- a/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: PkgCheck.pm,v 1.13 2010/06/10 07:21:07 espie Exp $
+# $OpenBSD: PkgCheck.pm,v 1.14 2010/06/14 08:16:14 espie Exp $
#
# Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org>
#
@@ -243,7 +243,7 @@ sub log
if (@_ == 0) {
return $self->{l};
} else {
- $self->{l}->print(@_);
+ $self->{l}->print($self->f(@_), "\n");
}
}