summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2011-01-03 19:01:05 +0000
committerMarc Espie <espie@cvs.openbsd.org>2011-01-03 19:01:05 +0000
commit425e97320389c4f617d8516d0b1aff0c6d808fee (patch)
tree441c2a2c7099b87ddd92b310043064416792590b /usr.sbin
parentbdcd8b5fd7a2f3edde9dfd89b48e92f8b15d66aa (diff)
those all need newlines
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgAdd.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm
index e4b67d494b0..dc03e8c8a48 100644
--- a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: PkgAdd.pm,v 1.20 2010/12/29 13:03:05 espie Exp $
+# $OpenBSD: PkgAdd.pm,v 1.21 2011/01/03 19:01:04 espie Exp $
#
# Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org>
#
@@ -668,7 +668,7 @@ sub delete_old_packages
try {
OpenBSD::Delete::delete_plist($o->plist, $state);
} catchall {
- $state->errprint($_);
+ $state->errsay($_);
$state->fatal(partial_install(
"Deinstallation of $oldname failed",
$set, $state));
@@ -737,7 +737,7 @@ sub really_add
$state);
} catchall {
unless ($state->{interrupted}) {
- $state->errprint($_);
+ $state->errsay($_);
$errors++;
}
};
@@ -771,7 +771,7 @@ sub really_add
}
} catchall {
unless ($state->{interrupted}) {
- $state->errprint($_);
+ $state->errsay($_);
$errors++;
}
};