diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2017-04-12 23:05:09 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2017-04-12 23:05:50 +0200 |
commit | 1e64386dc69a0e13404eefc2deb0c3908632457c (patch) | |
tree | 94e2225120117702395799fe5b6a4d362c15b06f | |
parent | 1f715ab3b20f3e2589fa547428e84134349465da (diff) | |
download | lvm2-1e64386dc69a0e13404eefc2deb0c3908632457c.tar.gz |
raid: use log_error
Turn log_print into log_error for error path.
-rw-r--r-- | lib/metadata/raid_manip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/metadata/raid_manip.c b/lib/metadata/raid_manip.c index 35f7fa59d..34ac2a63b 100644 --- a/lib/metadata/raid_manip.c +++ b/lib/metadata/raid_manip.c @@ -2225,8 +2225,8 @@ static int _raid_reshape(struct logical_volume *lv, log_print_unless_silent("No change in RAID LV %s layout, freeing reshape space.", display_lvname(lv)); if (where_it_was == alloc_none) { - log_print_unless_silent("LV %s does not have reshape space allocated.", - display_lvname(lv)); + log_error("LV %s does not have reshape space allocated.", + display_lvname(lv)); return 0; } |