master - raid: switch to log_warn
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=c460f35cdadc853fc5bb7b796dbc0ead6968b82c Commit: c460f35cdadc853fc5bb7b796dbc0ead6968b82c Parent: 355258be58fe52df0e90cb3831bc0e09f06d2e2a Author: Zdenek Kabelac <[email protected]> AuthorDate: Tue Jul 1 09:53:58 2014 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Wed Jul 2 10:34:40 2014 +0200
raid: switch to log_warn
Use log_warn for warning message.log_error is printed when command returns error code.
--- tools/lvconvert.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-)
tools/lvconvert.c +3 -4
@@ -1914,10 +1914,9 @@ static int _lvconvert_raid(struct logical_volume *lv, struct lvconvert_params *l }if (sync_percent !=DM_PERCENT_100 ) { -log_error ("WARNING: %s/%s is not in-sync." , - lv->vg->name, lv->name); -log_error ("WARNING: Portions of the array may" -" be unrecoverable." ); +log_warn ("WARNING: %s/%s is not in-sync." , + lv->vg->name, lv->name); +log_warn ("WARNING: Portions of the array may be unrecoverable." );/* * The kernel will not allow a device to be replaced