mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-04 12:41:39 +00:00
sleep.c: fix typo
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
71365a7754
commit
096924092b
+1
-1
@@ -90,7 +90,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