diff options
author | Alasdair Kergon <agk@redhat.com> | 2002-01-07 23:28:25 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2002-01-07 23:28:25 +0000 |
commit | ae21c2cc8b97f414eb912b87a9f8a7580a4dcb93 (patch) | |
tree | b284a457800bf26130b0546d708c14149482bb80 /tools/lvm.c | |
parent | ea5b424e04b9647e80bea548693776e005b84a77 (diff) | |
download | lvm2-ae21c2cc8b97f414eb912b87a9f8a7580a4dcb93.tar.gz lvm2-ae21c2cc8b97f414eb912b87a9f8a7580a4dcb93.tar.xz lvm2-ae21c2cc8b97f414eb912b87a9f8a7580a4dcb93.zip |
fixes for compilation
Diffstat (limited to 'tools/lvm.c')
-rw-r--r-- | tools/lvm.c | 3 |
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)) |