From c441202fea7bdfcdb9a74324b795174e50193a50 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Mon, 7 Jan 2002 23:28:25 +0000 Subject: [PATCH] fixes for compilation --- tools/lvm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/lvm.c b/tools/lvm.c index 42e5cb8a9..e60c394c2 100644 --- a/tools/lvm.c +++ b/tools/lvm.c @@ -15,6 +15,7 @@ #include #include #include +#include #include "stub.h" @@ -510,7 +511,7 @@ static int process_common_commands(struct command *com) kill(getpid(), SIGSTOP); if (arg_count(debug_ARG)) - _current_settings.debug = LOG_FATAL + + _current_settings.debug = _LOG_FATAL + (arg_count(debug_ARG) - 1); if (arg_count(verbose_ARG))