summaryrefslogtreecommitdiffstats
path: root/src/shared/sleep-config.c
diff options
context:
space:
mode:
authorZach Smith <z@zxmth.us>2019-10-22 06:36:27 +0200
committerZach Smith <z@zxmth.us>2019-10-24 16:38:31 +0200
commitea470720e44701f0326f48c452cfaeade0e2161d (patch)
treecf5e207e8d4a13ede07cf3a6f7310964e2d93f73 /src/shared/sleep-config.c
parentsystemd-sleep: always prefer resume device or file (diff)
downloadsystemd-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.c2
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();
}