valeriyvdovin / rpms / systemd

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