chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
systemd: try harder to bind to notify socket
[elogind.git]
/
src
/
update-utmp
/
update-utmp.c
diff --git
a/src/update-utmp/update-utmp.c
b/src/update-utmp/update-utmp.c
index e5fb5f8bf65e5826a1dfc6f87856bfef837f1613..31cae709509daf42edda515966654e034ee9db95 100644
(file)
--- a/
src/update-utmp/update-utmp.c
+++ b/
src/update-utmp/update-utmp.c
@@
-270,7
+270,7
@@
int main(int argc, char *argv[]) {
goto finish;
}
goto finish;
}
- log_debug("systemd-update-utmp running as pid
%lu", (unsigned long)
getpid());
+ log_debug("systemd-update-utmp running as pid
"PID_FMT,
getpid());
if (streq(argv[1], "reboot"))
r = on_reboot(&c);
if (streq(argv[1], "reboot"))
r = on_reboot(&c);
@@
-283,7
+283,7
@@
int main(int argc, char *argv[]) {
r = -EINVAL;
}
r = -EINVAL;
}
- log_debug("systemd-update-utmp stopped as pid
%lu", (unsigned long)
getpid());
+ log_debug("systemd-update-utmp stopped as pid
"PID_FMT,
getpid());
finish:
#ifdef HAVE_AUDIT
finish:
#ifdef HAVE_AUDIT