aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2019-10-09 12:16:25 +0100
committerBryn M. Reeves <bmr@redhat.com>2019-10-09 12:16:25 +0100
commitf1970fc91aee72343a2114398094b43c8700b640 (patch)
tree6eaa4fe27455f87a68431fee641a3f37271324b4
parent823dbabde82ee941c421482a71be572984607ad4 (diff)
downloadsos-f1970fc91aee72343a2114398094b43c8700b640.tar.gz
[corosync] fix logging call string formatting
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/corosync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/corosync.py b/sos/plugins/corosync.py
index 174e8936..1d19c90d 100644
--- a/sos/plugins/corosync.py
+++ b/sos/plugins/corosync.py
@@ -52,7 +52,7 @@ class Corosync(Plugin):
if re.match(pattern, line):
self.add_copy_spec(re.search(pattern, line).group(2))
except IOError as e:
- self._log_warn("could not read from %s: %s", corosync_conf, e)
+ self._log_warn("could not read from %s: %s" % (corosync_conf, e))
def postproc(self):
self.do_cmd_output_sub(