diff options
Diffstat (limited to 'winsup/cygwin/pipe.cc')
-rw-r--r-- | winsup/cygwin/pipe.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/pipe.cc b/winsup/cygwin/pipe.cc index fc1db5e3a..decd1bd6c 100644 --- a/winsup/cygwin/pipe.cc +++ b/winsup/cygwin/pipe.cc @@ -30,8 +30,8 @@ make_pipe (int fildes[2], unsigned int psize, int mode) __seterrno (); else { - fhandler_base *fhr = dtable.build_fhandler (fdr, FH_PIPE, "/dev/piper"); - fhandler_base *fhw = dtable.build_fhandler (fdw, FH_PIPE, "/dev/pipew"); + fhandler_base *fhr = dtable.build_fhandler (fdr, FH_PIPER, "/dev/piper"); + fhandler_base *fhw = dtable.build_fhandler (fdw, FH_PIPEW, "/dev/pipew"); int binmode = mode & O_TEXT ? 0 : 1; fhr->init (r, GENERIC_READ, binmode); |