chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rules: consistently use "?*" instead of "*?"
[elogind.git]
/
src
/
login
/
logind.c
diff --git
a/src/login/logind.c
b/src/login/logind.c
index 686506cc6511543275cb48802d080e757dfeb3cc..7a7bd97150864739fd66e3f07980907f7e0b3791 100644
(file)
--- a/
src/login/logind.c
+++ b/
src/login/logind.c
@@
-1160,7
+1160,7
@@
int main(int argc, char *argv[]) {
goto finish;
}
goto finish;
}
- log_debug("systemd-logind running as pid
%lu", (unsigned long)
getpid());
+ log_debug("systemd-logind running as pid
"PID_FMT,
getpid());
sd_notify(false,
"READY=1\n"
sd_notify(false,
"READY=1\n"
@@
-1168,7
+1168,7
@@
int main(int argc, char *argv[]) {
r = manager_run(m);
r = manager_run(m);
- log_debug("systemd-logind stopped as pid
%lu", (unsigned long)
getpid());
+ log_debug("systemd-logind stopped as pid
"PID_FMT,
getpid());
finish:
sd_notify(false,
finish:
sd_notify(false,