diff options
Diffstat (limited to 'kernel/syscalls.c')
| -rw-r--r-- | kernel/syscalls.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/syscalls.c b/kernel/syscalls.c index ee100e2..edc4751 100644 --- a/kernel/syscalls.c +++ b/kernel/syscalls.c @@ -375,7 +375,6 @@ uint32_t syscall_pipe(uint32_t *addr,int none1, int none2, uint32_t pid) uint32_t syscall_dup2(uint32_t oldfd,int newfd, int none2, uint32_t pid) { - fd_close(&fds[pid][newfd]); fds[pid][newfd]=fd_dupl(&fds[pid][oldfd]); return newfd; } |
