summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-02-28 16:07:56 +0100
committerLennart Poettering <lennart@poettering.net>2017-02-28 16:07:56 +0100
commit7c102d60925a9af92c192ebae4d088c7618874a2 (patch)
tree819d3a5e0214cb487e8ea795fc67c18a178ae4c2
parentfe6a0235019605c7c5246762d52d6b6b35ce3930 (diff)
core: use PID_FMT where appropriate
-rw-r--r--src/core/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/service.c b/src/core/service.c
index 5581ec8b06..3f87e08369 100644
--- a/src/core/service.c
+++ b/src/core/service.c
@@ -3286,7 +3286,7 @@ static void service_bus_name_owner_change(
if (r >= 0)
r = sd_bus_creds_get_pid(creds, &pid);
if (r >= 0) {
- log_unit_debug(u, "D-Bus name %s is now owned by process %u", name, (unsigned) pid);
+ log_unit_debug(u, "D-Bus name %s is now owned by process " PID_FMT, name, pid);
service_set_main_pid(s, pid);
unit_watch_pid(UNIT(s), pid);