chiark / gitweb /
util: replace close_pipe() with new safe_close_pair()
[elogind.git] / src / libsystemd / sd-bus / bus-container.c
index 2cd0e1f99ed017ef54db34ba87c9027d32f21199..6bd7ad6318dd732c47b9e1ab684e4600e05344cf 100644 (file)
@@ -116,7 +116,7 @@ int bus_container_connect_socket(sd_bus *b) {
 }
 
 int bus_container_connect_kernel(sd_bus *b) {
-        _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;