chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Beginnings of handling suspend/etc within logind
[elogind.git]
/
src
/
shared
/
util.c
diff --git
a/src/shared/util.c
b/src/shared/util.c
index 727be56f58302a90d1d3395262ea754efa4bb256..950519ed06ddfe96578ff98454c52580c24cbe73 100644
(file)
--- a/
src/shared/util.c
+++ b/
src/shared/util.c
@@
-4716,7
+4716,7
@@
int update_reboot_param_file(const char *param) {
if (param) {
- r = write_string_file(REBOOT_PARAM_FILE, param);
+ r = write_string_file(REBOOT_PARAM_FILE, param
, WRITE_STRING_FILE_CREATE
);
if (r < 0)
log_error("Failed to write reboot param to "
REBOOT_PARAM_FILE": %s", strerror(-r));