]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fix typo in partition device message 12565/head
authorZach Smith <z@zxmth.us>
Tue, 14 May 2019 04:02:06 +0000 (21:02 -0700)
committerZach Smith <z@zxmth.us>
Tue, 14 May 2019 14:08:27 +0000 (07:08 -0700)
src/sleep/sleep.c

index 11aabaf923d2391d284cfe9460bb92d1ab0ec2e6..ed570deaee09ba0f097eb8e42ce939151fecbf69 100644 (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;
         }