valeriyvdovin / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone
923a60
From 7dbaab7b61fb25d91178f097cf7474d855d0ae29 Mon Sep 17 00:00:00 2001
923a60
From: Lukas Nykryn <lnykryn@redhat.com>
923a60
Date: Fri, 7 Oct 2016 14:05:40 +0200
923a60
Subject: [PATCH] manager: 219 needs u->id in log_unit_debug
923a60
923a60
RHEL-only
923a60
Related: #1380259
923a60
---
923a60
 src/core/manager.c | 2 +-
923a60
 1 file changed, 1 insertion(+), 1 deletion(-)
923a60
923a60
diff --git a/src/core/manager.c b/src/core/manager.c
923a60
index 27f032b9d9..6d045fdf35 100644
923a60
--- a/src/core/manager.c
923a60
+++ b/src/core/manager.c
923a60
@@ -1637,7 +1637,7 @@ static void manager_invoke_notify_message(Manager *m, Unit *u, pid_t pid, const
923a60
                 x = cescape(buf);
923a60
                 if (x)
923a60
                         y = ellipsize(x, 20, 90);
923a60
-                log_unit_debug(u, "Got notification message \"%s\", ignoring.", strnull(y));
923a60
+                log_unit_debug(u->id, "Got notification message \"%s\", ignoring.", strnull(y));
923a60
         }
923a60
 }
923a60