From ea470720e44701f0326f48c452cfaeade0e2161d Mon Sep 17 00:00:00 2001 From: Zach Smith Date: Mon, 21 Oct 2019 21:36:27 -0700 Subject: systemd-sleep: improve /proc/swaps open fail message --- src/shared/sleep-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(); } -- cgit v1.2.1