fix typo in partition device message

This commit is contained in:
Zach Smith 2019-05-13 21:02:06 -07:00
parent 45733c9d21
commit 6835d78dfe

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