summaryrefslogtreecommitdiffstats
path: root/tools/lvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lvm.c')
-rw-r--r--tools/lvm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/lvm.c b/tools/lvm.c
index 7dee3429..42e5cb8a 100644
--- a/tools/lvm.c
+++ b/tools/lvm.c
@@ -510,7 +510,8 @@ static int process_common_commands(struct command *com)
kill(getpid(), SIGSTOP);
if (arg_count(debug_ARG))
- _current_settings.debug = arg_count(debug_ARG);
+ _current_settings.debug = LOG_FATAL +
+ (arg_count(debug_ARG) - 1);
if (arg_count(verbose_ARG))
_current_settings.verbose = arg_count(verbose_ARG);