From 6c495a49d444404d0ed3fe910ace58befd2db8dc Mon Sep 17 00:00:00 2001 From: Andrew Beekhof Date: Wed, 18 Nov 2015 08:48:57 +1100 Subject: [PATCH] Fix: systemd: Prevent segfaul when logging failed operations --- lib/services/systemd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/systemd.c b/lib/services/systemd.c index 3d5a600..a851bc6 100644 --- a/lib/services/systemd.c +++ b/lib/services/systemd.c @@ -442,7 +442,7 @@ systemd_exec_result(DBusMessage *reply, svc_action_t *op) /* ignore "already started" or "not running" errors */ if (!systemd_mask_error(op, error.name)) { - crm_err("Could not issue %s for %s: %s (%s)", op->action, op->rsc, error.message); + crm_err("Could not issue %s for %s: %s", op->action, op->rsc, error.message); } } else { -- 1.8.3.1