summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/PkgCfl.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-05-29 10:40:21 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-05-29 10:40:21 +0000
commitb507bb21d44e06545375ecc3670c25c7d627b66c (patch)
treefee90f3c9670b67ced17adcd588c47d018a01b02 /usr.sbin/pkg_add/OpenBSD/PkgCfl.pm
parenta02b0ab1d25f9bc09553560af9423058dc820a74 (diff)
don't use 0 as an error number.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PkgCfl.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgCfl.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgCfl.pm b/usr.sbin/pkg_add/OpenBSD/PkgCfl.pm
index eebf9c6faa2..36cf357524a 100644
--- a/usr.sbin/pkg_add/OpenBSD/PkgCfl.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PkgCfl.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: PkgCfl.pm,v 1.22 2007/05/14 11:22:00 espie Exp $
+# $OpenBSD: PkgCfl.pm,v 1.23 2007/05/29 10:40:20 espie Exp $
#
# Copyright (c) 2003-2005 Marc Espie <espie@openbsd.org>
#
@@ -112,7 +112,7 @@ sub find($$)
sub find_all
{
my ($plist, $state) = @_;
- my $pkgname = $plist->pkgname();
+ my $pkgname = $plist->pkgname;
my $l = OpenBSD::PkgCfl->make_conflict_list($plist);
$plist->{conflicts} = $l;