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 42e5cb8a..e60c394c 100644
--- a/tools/lvm.c
+++ b/tools/lvm.c
@@ -15,6 +15,7 @@
#include <libgen.h>
#include <sys/stat.h>
#include <ctype.h>
+#include <time.h>
#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))