diff options
author | Michal Sekletár <msekleta@redhat.com> | 2024-10-29 18:41:55 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2024-10-30 13:38:27 +0100 |
commit | 13cd1db07f6cacc8cd5e50711be8da8bf966a5f7 (patch) | |
tree | 7056074a81c57eaab6d7aaa8176d6bc07e31a383 /src | |
parent | coredump: rename AccessContainer= to EnterNamespace= (diff) | |
download | systemd-13cd1db07f6cacc8cd5e50711be8da8bf966a5f7.tar.xz systemd-13cd1db07f6cacc8cd5e50711be8da8bf966a5f7.zip |
coredump: return correct error variable
Diffstat (limited to 'src')
-rw-r--r-- | src/coredump/coredump.c | 2 |
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) |