mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-04 20:51:33 +00:00
sleep.c: fix typo
(cherry picked from commit096924092b) (cherry picked from commitfdaa623f62)
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
2bb3de0e30
commit
9930cd2e58
+1
-1
@@ -91,7 +91,7 @@ static int execute(char **modes, char **states) {
|
||||
const char* note = strappenda("SLEEP=", arg_verb);
|
||||
|
||||
/* This file is opened first, so that if we hit an error,
|
||||
* we can abort before modyfing any state. */
|
||||
* we can abort before modifying any state. */
|
||||
f = fopen("/sys/power/state", "we");
|
||||
if (!f) {
|
||||
log_error("Failed to open /sys/power/state: %m");
|
||||
|
||||
Reference in New Issue
Block a user