mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-06 13:41:31 +00:00
Remove unnecessary casts in printfs
No functional change expected :)
This commit is contained in:
@@ -396,7 +396,7 @@ int main(int argc, char *argv[]) {
|
||||
if (server_init(&server, (unsigned) n) < 0)
|
||||
return EXIT_FAILURE;
|
||||
|
||||
log_debug("systemd-initctl running as pid %lu", (unsigned long) getpid());
|
||||
log_debug("systemd-initctl running as pid "PID_FMT, getpid());
|
||||
|
||||
sd_notify(false,
|
||||
"READY=1\n"
|
||||
@@ -426,7 +426,7 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
r = EXIT_SUCCESS;
|
||||
|
||||
log_debug("systemd-initctl stopped as pid %lu", (unsigned long) getpid());
|
||||
log_debug("systemd-initctl stopped as pid "PID_FMT, getpid());
|
||||
|
||||
fail:
|
||||
sd_notify(false,
|
||||
|
||||
Reference in New Issue
Block a user