mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
Merge pull request #12565 from zachsmith/fix-log-message-typos
systemd-sleep: Fix typos in log messages
This commit is contained in:
commit
73130b0bcf
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user