chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
coredump: simplify a few things by allocating small fields on the stack rather than...
[elogind.git]
/
src
/
core
/
mount.c
diff --git
a/src/core/mount.c
b/src/core/mount.c
index d34699bca8d718ab9f52e37dfd8b9024f3508c72..e6f0a8a2c1b81f23634f8e36b64183e77267c864 100644
(file)
--- a/
src/core/mount.c
+++ b/
src/core/mount.c
@@
-1627,7
+1627,7
@@
static int mount_dispatch_io(sd_event_source *source, int fd, uint32_t revents,
r = mount_load_proc_self_mountinfo(m, true);
if (r < 0) {
r = mount_load_proc_self_mountinfo(m, true);
if (r < 0) {
- log_error
("Failed to reread /proc/self/mountinfo: %s", strerror(-r)
);
+ log_error
_errno(r, "Failed to reread /proc/self/mountinfo: %m"
);
/* Reset flags, just in case, for later calls */
LIST_FOREACH(units_by_type, u, m->units_by_type[UNIT_MOUNT]) {
/* Reset flags, just in case, for later calls */
LIST_FOREACH(units_by_type, u, m->units_by_type[UNIT_MOUNT]) {