From: Mirco Tischler Date: Thu, 25 Apr 2013 13:14:57 +0000 (+0200) Subject: core: remove duplicate MESSAGE= from log message X-Git-Tag: v203~70 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=fcf8c44041a5138a170f9a442809c032259a26b1 core: remove duplicate MESSAGE= from log message This was needed with log_struct_unit() but log_notice_unit() adds it anyway. --- diff --git a/src/core/unit.c b/src/core/unit.c index 7029b6443..282852fed 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -1468,7 +1468,7 @@ void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns, bool reload_su if (ns != os && ns == UNIT_FAILED) { log_notice_unit(u->id, - "MESSAGE=Unit %s entered failed state.", u->id); + "Unit %s entered failed state.", u->id); unit_start_on_failure(u); } }