summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Smith <z@zxmth.us>2019-10-21 21:36:27 -0700
committerZach Smith <z@zxmth.us>2019-10-24 07:38:31 -0700
commitea470720e44701f0326f48c452cfaeade0e2161d (patch)
treecf5e207e8d4a13ede07cf3a6f7310964e2d93f73
parent7bdf56a28ae5ba3c2ae404932062dbf240ddc511 (diff)
downloadsystemd-ea470720e44701f0326f48c452cfaeade0e2161d.tar.gz
systemd-sleep: improve /proc/swaps open fail message
-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();
}