]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fix typo in wakealarm message
authorZach Smith <z@zxmth.us>
Tue, 14 May 2019 03:01:36 +0000 (20:01 -0700)
committerZach Smith <z@zxmth.us>
Tue, 14 May 2019 03:01:36 +0000 (20:01 -0700)
src/shared/sleep-config.c

index 7f23e5410239e425b65371d605ed95d99efd6e4a..0e114a7b49a94869b72844444b216e6e3ca8b626 100644 (file)
@@ -386,7 +386,7 @@ static bool can_s2h(void) {
         r = access("/sys/class/rtc/rtc0/wakealarm", W_OK);
         if (r < 0) {
                 log_full(errno == ENOENT ? LOG_DEBUG : LOG_WARNING,
-                         "/sys/class/rct/rct0/wakealarm is not writable %m");
+                         "/sys/class/rtc/rtc0/wakealarm is not writable %m");
                 return false;
         }