chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
71365a7
)
sleep.c: fix typo
author
Michele Curti
<michele.curti@gmail.com>
Tue, 7 Jan 2014 16:51:41 +0000
(17:51 +0100)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Wed, 8 Jan 2014 02:54:28 +0000
(21:54 -0500)
src/sleep/sleep.c
patch
|
blob
|
history
diff --git
a/src/sleep/sleep.c
b/src/sleep/sleep.c
index bf673549f1a835114fd4b9e096a7c330c5f93de2..8da050cd7ed0c5af274219a4ff903eb22c14d518 100644
(file)
--- a/
src/sleep/sleep.c
+++ b/
src/sleep/sleep.c
@@
-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,
const char* note = strappenda("SLEEP=", arg_verb);
/* This file is opened first, so that if we hit an error,
- * we can abort before mod
yf
ing any state. */
+ * we can abort before mod
ify
ing any state. */
f = fopen("/sys/power/state", "we");
if (!f) {
log_error("Failed to open /sys/power/state: %m");
f = fopen("/sys/power/state", "we");
if (!f) {
log_error("Failed to open /sys/power/state: %m");