summaryrefslogtreecommitdiff
path: root/src/remount-fs/remount-fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/remount-fs/remount-fs.c')
-rw-r--r--src/remount-fs/remount-fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remount-fs/remount-fs.c b/src/remount-fs/remount-fs.c
index cd7cfe7a47..e30c344310 100644
--- a/src/remount-fs/remount-fs.c
+++ b/src/remount-fs/remount-fs.c
@@ -120,7 +120,7 @@ int main(int argc, char *argv[]) {
k = hashmap_put(pids, UINT_TO_PTR(pid), s);
if (k < 0) {
- log_error("Failed to add PID to set: %s", strerror(-k));
+ log_error_errno(-k, "Failed to add PID to set: %m");
ret = EXIT_FAILURE;
continue;
}