summaryrefslogtreecommitdiffstats
path: root/tools/lvm.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2002-01-07 23:28:25 +0000
committerAlasdair Kergon <agk@redhat.com>2002-01-07 23:28:25 +0000
commitae21c2cc8b97f414eb912b87a9f8a7580a4dcb93 (patch)
treeb284a457800bf26130b0546d708c14149482bb80 /tools/lvm.c
parentea5b424e04b9647e80bea548693776e005b84a77 (diff)
downloadlvm2-ae21c2cc8b97f414eb912b87a9f8a7580a4dcb93.tar.gz
lvm2-ae21c2cc8b97f414eb912b87a9f8a7580a4dcb93.tar.xz
lvm2-ae21c2cc8b97f414eb912b87a9f8a7580a4dcb93.zip
fixes for compilation
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))