ryantimwilson / rpms / systemd

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