]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
systemd-sleep: improve /proc/swaps open fail message 13682/head
authorZach Smith <z@zxmth.us>
Tue, 22 Oct 2019 04:36:27 +0000 (21:36 -0700)
committerZach Smith <z@zxmth.us>
Thu, 24 Oct 2019 14:38:31 +0000 (07:38 -0700)
src/shared/sleep-config.c

index 85110dffa22c313186d31a76173d48b5faa43124..b5bc6595bd6e557d087e006d9647bb7ff32290e3 100644 (file)
@@ -316,7 +316,7 @@ int find_hibernate_location(HibernateLocation **ret_hibernate_location) {
         f = fopen("/proc/swaps", "re");
         if (!f) {
                 log_full(errno == ENOENT ? LOG_DEBUG : LOG_WARNING,
-                         "Failed to retrieve open /proc/swaps: %m");
+                         "Failed to open /proc/swaps: %m");
                 return negative_errno();
         }