projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bdf56a
)
systemd-sleep: improve /proc/swaps open fail message
author
Zach Smith
<z@zxmth.us>
Tue, 22 Oct 2019 04:36:27 +0000
(21:36 -0700)
committer
Zach Smith
<z@zxmth.us>
Thu, 24 Oct 2019 14:38:31 +0000
(07:38 -0700)
src/shared/sleep-config.c
patch
|
blob
|
history
diff --git
a/src/shared/sleep-config.c
b/src/shared/sleep-config.c
index
85110df
..
b5bc659
100644
(file)
--- 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();
}