mirror of
git://sourceware.org/git/lvm2.git
synced 2025-11-25 12:23:53 +03:00
Make warnings go to stderr. Change log_warn to that effect, log_print
continues to send messages to stdout.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user