]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/coredump/coredump.c
fd-uitl: rename PIPE_EBADF → EBADF_PAIR, and add EBADF_TRIPLET
[thirdparty/systemd.git] / src / coredump / coredump.c
index 40505e35f319491d68f1bd949487d7f538d56ef1..a67d425c14ee90ad84366ec767db7638d966d93e 100644 (file)
@@ -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,