Merge pull request #12565 from zachsmith/fix-log-message-typos

systemd-sleep: Fix typos in log messages
This commit is contained in:
Lennart Poettering 2019-05-15 10:50:03 +02:00 committed by GitHub
commit 73130b0bcf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View 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;
}

View file

@ -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;
}