1
0
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:
Petr Rockai
2007-06-28 17:33:44 +00:00
parent ba117ad80e
commit e7ddf4168d
22 changed files with 52 additions and 46 deletions

View File

@@ -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);