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:
parent
7bdf56a28a
commit
ea470720e4
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user