From 45733c9d211dae459aaf69cd749bc2dcd47d2ee6 Mon Sep 17 00:00:00 2001 From: Zach Smith Date: Mon, 13 May 2019 20:01:36 -0700 Subject: [PATCH 1/2] fix typo in wakealarm message --- src/shared/sleep-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/sleep-config.c b/src/shared/sleep-config.c index 7f23e541023..0e114a7b49a 100644 --- a/src/shared/sleep-config.c +++ b/src/shared/sleep-config.c @@ -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; } From 6835d78dfe4db6d34f65a9e3f0691421e2136526 Mon Sep 17 00:00:00 2001 From: Zach Smith Date: Mon, 13 May 2019 21:02:06 -0700 Subject: [PATCH 2/2] fix typo in partition device message --- 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 11aabaf923d..ed570deaee0 100644 --- a/src/sleep/sleep.c +++ b/src/sleep/sleep.c @@ -50,7 +50,7 @@ static int write_hibernate_location_info(void) { if (streq(type, "partition")) { r = write_string_file("/sys/power/resume", device, WRITE_STRING_FILE_DISABLE_BUFFER); if (r < 0) - return log_debug_errno(r, "Faileed to write partitoin device to /sys/power/resume: %m"); + return log_debug_errno(r, "Failed to write partition device to /sys/power/resume: %m"); return r; }