diff options
author | rofl0r <retnyg@gmx.net> | 2012-11-08 00:13:41 +0400 |
---|---|---|
committer | rofl0r <retnyg@gmx.net> | 2012-11-08 00:31:18 +0400 |
commit | bd07ca49b9b480d39cf57c3cd18be522ab257161 (patch) | |
tree | eb3f10b4fd8c311f0dae7c981408d9de8a7ca8b5 | |
parent | f570a669021d7a8f3428bcf79a986fb6abbc8eed (diff) |
use pipe instead of pipe2
-rw-r--r-- | src/allocator_thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/allocator_thread.c b/src/allocator_thread.c index c997f9d..3ff0122 100644 --- a/src/allocator_thread.c +++ b/src/allocator_thread.c @@ -270,7 +270,7 @@ size_t at_get_host_for_ip(ip_type ip, char* readbuf) { static void initpipe(int* fds) { - if(pipe2(fds, 0/*O_CLOEXEC*/) == -1) { + if(pipe(fds) == -1) { perror("pipe"); exit(1); } |