diff options
Diffstat (limited to 'src/lib9')
-rw-r--r-- | src/lib9/pipe.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib9/pipe.c b/src/lib9/pipe.c index 4caeb6c1..5d0e47c1 100644 --- a/src/lib9/pipe.c +++ b/src/lib9/pipe.c @@ -3,9 +3,8 @@ #include <libc.h> #include <sys/socket.h> -/* BUG: would like to preserve delimiters on systems that can */ int p9pipe(int fd[2]) { - return socketpair(AF_UNIX, SOCK_STREAM, 0, fd); + return socketpair(AF_UNIX, SOCK_DGRAM, 0, fd); } |