diff options
Diffstat (limited to 'io/dup2.c')
-rw-r--r-- | io/dup2.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -23,9 +23,7 @@ /* Duplicate FD to FD2, closing the old FD2 and making FD2 be open the same file as FD is. Return FD2 or -1. */ int -__dup2 (fd, fd2) - int fd; - int fd2; +__dup2 (int fd, int fd2) { if (fd < 0 || fd2 < 0) { |