1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

cleanup: error is not a WARNING

Drop 'WARNING' from error message.
It's plain error message leading to command failure.
This commit is contained in:
Zdenek Kabelac 2015-10-29 12:18:40 +01:00
parent 175119fdcd
commit f58c634103

2
lib/cache/lvmetad.c vendored
View File

@ -1331,7 +1331,7 @@ int lvmetad_pvscan_single(struct cmd_context *cmd, struct device *dev,
log_warn("WARNING: Ignoring obsolete format of metadata (%s) on device %s when using lvmetad", log_warn("WARNING: Ignoring obsolete format of metadata (%s) on device %s when using lvmetad",
baton.fid->fmt->name, dev_name(dev)); baton.fid->fmt->name, dev_name(dev));
else else
log_error("WARNING: Ignoring obsolete format of metadata (%s) on device %s when using lvmetad", log_error("Ignoring obsolete format of metadata (%s) on device %s when using lvmetad.",
baton.fid->fmt->name, dev_name(dev)); baton.fid->fmt->name, dev_name(dev));
lvmcache_fmt(info)->ops->destroy_instance(baton.fid); lvmcache_fmt(info)->ops->destroy_instance(baton.fid);