anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

Blame SOURCES/0354-manager-Fixing-a-debug-printf-formatting-mistake.patch

1abbee
From 1a6aae42bb3c4e524ded2da53afa303dd479b877 Mon Sep 17 00:00:00 2001
fa0155
From: Kyle Walker <walker.kyle.t@gmail.com>
fa0155
Date: Fri, 1 Jul 2016 10:04:40 -0400
fa0155
Subject: [PATCH] manager: Fixing a debug printf formatting mistake
fa0155
fa0155
A 'llu' formatting statement was used in a debugging printf statement
fa0155
instead of a 'PRIu64'. Correcting that mistake here.
fa0155
fa0155
Cherry-picked from: 72b0c3f59695239c51b719576f625e789bd00a66
fa0155
Related: #1342173
fa0155
---
fa0155
 src/core/manager.c | 3 ++-
fa0155
 1 file changed, 2 insertions(+), 1 deletion(-)
fa0155
fa0155
diff --git a/src/core/manager.c b/src/core/manager.c
181b3f
index 63693b93a..d168777d2 100644
fa0155
--- a/src/core/manager.c
fa0155
+++ b/src/core/manager.c
1abbee
@@ -1764,7 +1764,8 @@ static void invoke_sigchld_event(Manager *m, Unit *u, siginfo_t *si) {
fa0155
                         UNIT_VTABLE(u)->sigchld_event(u, si->si_pid, si->si_code, si->si_status);
fa0155
                         u->sigchldgen = iteration;
fa0155
                 } else
fa0155
-                        log_debug("%s already issued a sigchld this iteration %llu, skipping. Pids still being watched %d", u->id, iteration, set_size(u->pids));
fa0155
+                        log_debug("%s already issued a sigchld this iteration %" PRIu64 ", skipping. Pids still being watched %d", u->id, iteration, set_size(u->pids));
fa0155
+
fa0155
         }
fa0155
 }
fa0155