diff options
| author | Miguel <m.i@gmx.at> | 2018-09-21 03:14:52 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-21 03:14:52 +0200 |
| commit | d4bc2ecdd1d0b3d3f3642a5f02840d1e0cb5e199 (patch) | |
| tree | 076ecc41b928c057a6c10df6508237961d714958 /kernel/syscalls.c | |
| parent | ace0646608c393d8952b14536090c302bed2ee85 (diff) | |
piper works so nice
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; } |
