diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-05-15 17:23:35 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-05-15 17:23:35 +0200 |
commit | d9a76d8f860c4ee19c4aa0df685889d058f4c5cb (patch) | |
tree | 7236564d390593bbfa26638f7ab43bb982411b88 /mount.c | |
parent | bff7c062a40379c0797c34f0f3d159e3c6126a29 (diff) |
mount: don't negate errno when passing it to strerror()
Diffstat (limited to 'mount.c')
-rw-r--r-- | mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]) { |