summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/Vstat.pm
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Vstat.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Vstat.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Vstat.pm b/usr.sbin/pkg_add/OpenBSD/Vstat.pm
index 0411ce0f3cb..c5011bad5ab 100644
--- a/usr.sbin/pkg_add/OpenBSD/Vstat.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Vstat.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Vstat.pm,v 1.44 2009/11/11 12:21:20 espie Exp $
+# $OpenBSD: Vstat.pm,v 1.45 2009/12/20 22:38:45 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -204,7 +204,7 @@ sub report_ro
{
my ($s, $state, $fname) = @_;
- if ($state->{very_verbose} or ++($s->{problems}) < 4) {
+ if ($state->verbose >= 3 or ++($s->{problems}) < 4) {
$state->errsay("Error: ", $s->{dev},
" is read-only ($fname)");
} elsif ($s->{problems} == 4) {
@@ -217,7 +217,7 @@ sub report_overflow
{
my ($s, $state, $fname) = @_;
- if ($state->{very_verbose} or ++($s->{problems}) < 4) {
+ if ($state->verbose >= 3 or ++($s->{problems}) < 4) {
$state->errsay("Error: ", $s->{dev},
" is not large enough ($fname)");
} elsif ($s->{problems} == 4) {