summaryrefslogtreecommitdiffstats
path: root/tools/lvm.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2002-01-07 22:49:04 +0000
committerAlasdair Kergon <agk@redhat.com>2002-01-07 22:49:04 +0000
commit372a431135af87d1486a142602fad0b9b49a60e0 (patch)
tree1127b62487a0b8d02fa54615233bbdbe02f17447 /tools/lvm.c
parent12e8972ba1ccbb50ad158a9ac0a02c72c88ca0bb (diff)
downloadlvm2-372a431135af87d1486a142602fad0b9b49a60e0.tar.gz
lvm2-372a431135af87d1486a142602fad0b9b49a60e0.tar.xz
lvm2-372a431135af87d1486a142602fad0b9b49a60e0.zip
Sync tidy.
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);