Blame SOURCES/0183-sleep.c-fix-typo.patch
|
|
65878a |
From 5eaadd27a8c22c2a9e5c66c5cc69c9354eff036e Mon Sep 17 00:00:00 2001
|
|
|
65878a |
From: Michele Curti <michele.curti@gmail.com>
|
|
|
65878a |
Date: Tue, 7 Jan 2014 17:51:41 +0100
|
|
|
65878a |
Subject: [PATCH] sleep.c: fix typo
|
|
|
65878a |
|
|
|
65878a |
---
|
|
|
65878a |
src/sleep/sleep.c | 2 +-
|
|
|
65878a |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
65878a |
|
|
|
65878a |
diff --git a/src/sleep/sleep.c b/src/sleep/sleep.c
|
|
|
65878a |
index f96987f..c228cb6 100644
|
|
|
65878a |
--- a/src/sleep/sleep.c
|
|
|
65878a |
+++ b/src/sleep/sleep.c
|
|
|
65878a |
@@ -90,7 +90,7 @@ static int execute(char **modes, char **states) {
|
|
|
65878a |
const char* note = strappenda("SLEEP=", arg_verb);
|
|
|
65878a |
|
|
|
65878a |
/* This file is opened first, so that if we hit an error,
|
|
|
65878a |
- * we can abort before modyfing any state. */
|
|
|
65878a |
+ * we can abort before modifying any state. */
|
|
|
65878a |
f = fopen("/sys/power/state", "we");
|
|
|
65878a |
if (!f) {
|
|
|
65878a |
log_error("Failed to open /sys/power/state: %m");
|