chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dee75c
)
Prep v235: Apply upstream fixes (10/10) [src/update-utmp]
author
Sven Eden
<yamakuzure@gmx.net>
Mon, 14 Aug 2017 07:16:16 +0000
(09:16 +0200)
committer
Sven Eden
<yamakuzure@gmx.net>
Mon, 14 Aug 2017 07:20:58 +0000
(09:20 +0200)
src/update-utmp/update-utmp.c
patch
|
blob
|
history
diff --git
a/src/update-utmp/update-utmp.c
b/src/update-utmp/update-utmp.c
index 5e2d2c60e600df57e31917a317c361339933601a..ec5682e66f7249208d4cba8d0b4c19c21417b2ff 100644
(file)
--- a/
src/update-utmp/update-utmp.c
+++ b/
src/update-utmp/update-utmp.c
@@
-280,7
+280,7
@@
void update_utmp(int argc, char* argv[], sd_bus *bus) {
goto finish;
}
- log_debug("systemd-update-utmp running as pid "PID_FMT, getpid());
+ log_debug("systemd-update-utmp running as pid "PID_FMT, getpid
_cached
());
if (streq(argv[1], "reboot"))
r = on_reboot(&c);
@@
-293,7
+293,7
@@
void update_utmp(int argc, char* argv[], sd_bus *bus) {
r = -EINVAL;
}
- log_debug("systemd-update-utmp stopped as pid "PID_FMT, getpid());
+ log_debug("systemd-update-utmp stopped as pid "PID_FMT, getpid
_cached
());
finish:
#else