diff options
author | Ed Maste <emaste@adaranet.com> | 2012-09-28 21:06:41 +0000 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-09-28 14:21:52 -0700 |
commit | c0d95206c068d95460a068defd76274e73225a4a (patch) | |
tree | 72fab11e2fb7de7552e4e05f44d9ac20c313c846 /lib/process.c | |
parent | f5c45121cf59ef3099ba669c3590d844bedf53e9 (diff) | |
download | openvswitch-c0d95206c068d95460a068defd76274e73225a4a.tar.gz |
lib: Add xpipe_nonblocking helper
Signed-off-by: Ed Maste <emaste@adaranet.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/process.c')
-rw-r--r-- | lib/process.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/process.c b/lib/process.c index 91dfc064c..9f5c35f24 100644 --- a/lib/process.c +++ b/lib/process.c @@ -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); |