summaryrefslogtreecommitdiffstats
path: root/src/coredump/coredump.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/coredump/coredump.c')
-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 40505e35f3..a67d425c14 100644
--- a/src/coredump/coredump.c
+++ b/src/coredump/coredump.c
@@ -1402,7 +1402,7 @@ static int can_forward_coredump(pid_t pid) {
static int forward_coredump_to_container(Context *context) {
_cleanup_close_ int pidnsfd = -EBADF, mntnsfd = -EBADF, netnsfd = -EBADF, usernsfd = -EBADF, rootfd = -EBADF;
- _cleanup_close_pair_ int pair[2] = PIPE_EBADF;
+ _cleanup_close_pair_ int pair[2] = EBADF_PAIR;
pid_t pid, child;
struct ucred ucred = {
.pid = context->pid,