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