]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core: use PID_FMT where appropriate
authorLennart Poettering <lennart@poettering.net>
Tue, 28 Feb 2017 15:07:56 +0000 (16:07 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 28 Feb 2017 15:07:56 +0000 (16:07 +0100)
src/core/service.c

index 5581ec8b0620020f87352769b4a9d681a7d85f13..3f87e083694b198d2addad784bd65e3eb82d7b4e 100644 (file)
@@ -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);