1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-28 02:50:16 +03:00

core: use PID_FMT where appropriate

This commit is contained in:
Lennart Poettering 2017-02-28 16:07:56 +01:00
parent fe6a023501
commit 7c102d6092

View 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);