chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tree-wide: add SD_ID128_MAKE_STR, remove LOG_MESSAGE_ID
[elogind.git]
/
src
/
sleep
/
sleep.c
diff --git
a/src/sleep/sleep.c
b/src/sleep/sleep.c
index dc1d55d8b08c1b131c8f406c25f439ca8f9c3943..22f4db613f576d3367ef7037bedf41a349a9b3c7 100644
(file)
--- a/
src/sleep/sleep.c
+++ b/
src/sleep/sleep.c
@@
-112,7
+112,7
@@
static int execute(char **modes, char **states) {
execute_directories(dirs, DEFAULT_TIMEOUT_USEC, arguments);
log_struct(LOG_INFO,
execute_directories(dirs, DEFAULT_TIMEOUT_USEC, arguments);
log_struct(LOG_INFO,
-
LOG_MESSAGE_ID(SD_MESSAGE_SLEEP_START)
,
+
"MESSAGE_ID=" SD_MESSAGE_SLEEP_START_STR
,
LOG_MESSAGE("Suspending system..."),
"SLEEP=%s", arg_verb,
NULL);
LOG_MESSAGE("Suspending system..."),
"SLEEP=%s", arg_verb,
NULL);
@@
-122,7
+122,7
@@
static int execute(char **modes, char **states) {
return r;
log_struct(LOG_INFO,
return r;
log_struct(LOG_INFO,
-
LOG_MESSAGE_ID(SD_MESSAGE_SLEEP_STOP)
,
+
"MESSAGE_ID=" SD_MESSAGE_SLEEP_STOP_STR
,
LOG_MESSAGE("System resumed."),
"SLEEP=%s", arg_verb,
NULL);
LOG_MESSAGE("System resumed."),
"SLEEP=%s", arg_verb,
NULL);