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:
bff7c06
)
mount: don't negate errno when passing it to strerror()
author
Lennart Poettering
<lennart@poettering.net>
Sat, 15 May 2010 15:23:35 +0000
(17:23 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Sat, 15 May 2010 15:23:35 +0000
(17:23 +0200)
mount.c
patch
|
blob
|
history
diff --git
a/mount.c
b/mount.c
index
b53c7c0
..
2b24ea5
100644
(file)
--- a/
mount.c
+++ b/
mount.c
@@
-1360,7
+1360,7
@@
void mount_fd_event(Manager *m, int events) {
* table changes */
if ((r = mount_load_proc_self_mountinfo(m, true)) < 0) {
- log_error("Failed to reread /proc/self/mountinfo: %s", strerror(
-
errno));
+ log_error("Failed to reread /proc/self/mountinfo: %s", strerror(errno));
/* Reset flags, just in case, for later calls */
LIST_FOREACH(units_per_type, meta, m->units_per_type[UNIT_MOUNT]) {