summaryrefslogtreecommitdiff
path: root/lib/cache
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2023-04-26 14:40:11 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2023-05-06 20:38:49 +0200
commitc451d7925d91c6fec56b1537e341a5bbc94fb545 (patch)
tree893cc35b2dd2a9c929cfe292e5dd2db78e632855 /lib/cache
parent39b2bd06b8a992607ef6a315b08d2bf97cc6f24f (diff)
downloadlvm2-c451d7925d91c6fec56b1537e341a5bbc94fb545.tar.gz
cleanup: correcting some log_print
Correcting to log_print_unless_silent(), so -qq can do some work.
Diffstat (limited to 'lib/cache')
-rw-r--r--lib/cache/lvmcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cache/lvmcache.c b/lib/cache/lvmcache.c
index 127d29229..a18d213e1 100644
--- a/lib/cache/lvmcache.c
+++ b/lib/cache/lvmcache.c
@@ -707,8 +707,8 @@ static int _all_multipath_components(struct cmd_context *cmd, struct lvmcache_in
/* Different mpath devs with the same wwid shouldn't happen. */
if (dev_is_mp && dev_mp) {
- log_print("Found multiple multipath devices for PVID %s WWID %s: %s %s",
- pvid, wwid1_buf, dev_name(dev_mp), dev_name(dev));
+ log_print_unless_silent("Found multiple multipath devices for PVID %s WWID %s: %s %s.",
+ pvid, wwid1_buf, dev_name(dev_mp), dev_name(dev));
continue;
}