systemd/0228-sleep.c-fix-typo.patch
2014-01-14 19:07:25 -05:00

23 lines
837 B
Diff

From b1f114caf2e2b0913e4122847c7fa2b182b86771 Mon Sep 17 00:00:00 2001
From: Michele Curti <michele.curti@gmail.com>
Date: Tue, 7 Jan 2014 17:51:41 +0100
Subject: [PATCH] sleep.c: fix typo
---
src/sleep/sleep.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/sleep/sleep.c b/src/sleep/sleep.c
index f96987f..c228cb6 100644
--- 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,
- * 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");