1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00

systemd-sleep: improve /proc/swaps open fail message

This commit is contained in:
Zach Smith 2019-10-21 21:36:27 -07:00
parent 7bdf56a28a
commit ea470720e4

View 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();
}