chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
log: also set errno to the passed error code before processing format string in log_s...
[elogind.git]
/
src
/
core
/
unit.c
diff --git
a/src/core/unit.c
b/src/core/unit.c
index 2e8df7d8d8017b12b8ad21cf683b622914cbfc76..88cddbd02355b2c0e3bc4d7a9ba328060b3d4cc1 100644
(file)
--- a/
src/core/unit.c
+++ b/
src/core/unit.c
@@
-1394,10
+1394,10
@@
static void unit_status_log_starting_stopping_reloading(Unit *u, JobType t) {
t == JOB_STOP ? SD_MESSAGE_UNIT_STOPPING :
SD_MESSAGE_UNIT_RELOADING;
- log_unit_struct(
LOG_INFO
,
-
u->id
,
- MESSAGE_ID(mid),
-
"MESSAGE=%s", buf
,
+ log_unit_struct(
u->id
,
+
LOG_INFO
,
+
LOG_
MESSAGE_ID(mid),
+
LOG_MESSAGE("%s", buf)
,
NULL);
}