From 345846729c1c78c21115ca16557c0bc5608bb3db Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 29 Jan 2019 14:34:47 +1000 Subject: [PATCH] test: one O_NONBLOCK is enough Signed-off-by: Peter Hutterer --- test/litest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/litest.c b/test/litest.c index d6852a1..7c8c83c 100644 --- a/test/litest.c +++ b/test/litest.c @@ -949,7 +949,7 @@ litest_fork_subtests(struct list *tests, int max_forks) int rc; int pipefd[2]; - rc = pipe2(pipefd, O_NONBLOCK|O_NONBLOCK); + rc = pipe2(pipefd, O_NONBLOCK); assert(rc != -1); pid = fork(); -- 2.7.4