diff options
author | Zach Smith <z@zxmth.us> | 2019-10-22 06:36:27 +0200 |
---|---|---|
committer | Zach Smith <z@zxmth.us> | 2019-10-24 16:38:31 +0200 |
commit | ea470720e44701f0326f48c452cfaeade0e2161d (patch) | |
tree | cf5e207e8d4a13ede07cf3a6f7310964e2d93f73 /src/shared/sleep-config.c | |
parent | systemd-sleep: always prefer resume device or file (diff) | |
download | systemd-ea470720e44701f0326f48c452cfaeade0e2161d.tar.xz systemd-ea470720e44701f0326f48c452cfaeade0e2161d.zip |
systemd-sleep: improve /proc/swaps open fail message
Diffstat (limited to 'src/shared/sleep-config.c')
-rw-r--r-- | src/shared/sleep-config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/sleep-config.c b/src/shared/sleep-config.c index 85110dffa2..b5bc6595bd 100644 --- a/src/shared/sleep-config.c +++ b/src/shared/sleep-config.c @@ -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(); } |