daandemeyer / rpms / systemd

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