X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fmachine%2Fmachinectl.c;h=6337aa274fd5ada55986abecc00e3b053e43fb9a;hp=d812ef2600dcd08e30f344f1c5f5b17c6258336a;hb=3d94f76c99da13e5603831d0b278f8c8c21bcb02;hpb=6a0f1f6d5af7c7300d3db7a0ba2b068f8abd222b diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c index d812ef260..6337aa274 100644 --- a/src/machine/machinectl.c +++ b/src/machine/machinectl.c @@ -412,7 +412,7 @@ static int terminate_machine(sd_bus *bus, char **args, unsigned n) { } static int openpt_in_namespace(pid_t pid, int flags) { - _cleanup_close_pipe_ int pair[2] = { -1, -1 }; + _cleanup_close_pair_ int pair[2] = { -1, -1 }; _cleanup_close_ int pidnsfd = -1, mntnsfd = -1, rootfd = -1; union { struct cmsghdr cmsghdr;