socket-util: Avoid using SO_ERROR.
[openvswitch] / lib / process.c
index 91dfc064ca8c2ce3fb7e01cc29dce76ec9ef9608..9f5c35f2489198e52ec2bcd3aa40fca5c76f9184 100644 (file)
@@ -82,9 +82,7 @@ process_init(void)
     inited = true;
 
     /* Create notification pipe. */
-    xpipe(fds);
-    xset_nonblocking(fds[0]);
-    xset_nonblocking(fds[1]);
+    xpipe_nonblocking(fds);
 
     /* Set up child termination signal handler. */
     memset(&sa, 0, sizeof sa);