summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/coredump/coredump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coredump/coredump.c b/src/coredump/coredump.c
index 72e964aa08..209d2548c2 100644
--- a/src/coredump/coredump.c
+++ b/src/coredump/coredump.c
@@ -809,7 +809,7 @@ static int attach_mount_tree(int mount_tree_fd) {
.propagation = MS_SLAVE,
}, sizeof(struct mount_attr));
if (r < 0)
- return log_warning_errno(r, "Failed to change properties mount tree: %m");
+ return log_warning_errno(errno, "Failed to change properties of mount tree: %m");
r = move_mount(mount_tree_fd, "", -EBADF, MOUNT_TREE_ROOT, MOVE_MOUNT_F_EMPTY_PATH);
if (r < 0)