summaryrefslogtreecommitdiff
path: root/tools/lvmdiskscan.c
diff options
context:
space:
mode:
authorPetr Rockai <prockai@redhat.com>2007-06-28 17:33:44 +0000
committerPetr Rockai <prockai@redhat.com>2007-06-28 17:33:44 +0000
commite7ddf4168d2c0283efe4764e89901bdca8838f93 (patch)
treea0bdb23ff8aa689dd9df96ead8a35174c6a0211d /tools/lvmdiskscan.c
parentba117ad80e1b8f0aafa80601b3f6970405b772e6 (diff)
downloadlvm2-e7ddf4168d2c0283efe4764e89901bdca8838f93.tar.gz
Make warnings go to stderr. Change log_warn to that effect, log_print
continues to send messages to stdout.
Diffstat (limited to 'tools/lvmdiskscan.c')
-rw-r--r--tools/lvmdiskscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lvmdiskscan.c b/tools/lvmdiskscan.c
index 0d8ab0461..a64925e73 100644
--- a/tools/lvmdiskscan.c
+++ b/tools/lvmdiskscan.c
@@ -106,7 +106,7 @@ int lvmdiskscan(struct cmd_context *cmd, int argc __attribute((unused)),
pv_parts_found = 0;
if (arg_count(cmd, lvmpartition_ARG))
- log_print("WARNING: only considering LVM devices");
+ log_warn("WARNING: only considering LVM devices");
max_len = _get_max_dev_name_len(cmd->filter);