sleep.c: fix typo

This commit is contained in:
Michele Curti 2014-01-07 17:51:41 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent 71365a7754
commit 096924092b

View file

@ -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");