summaryrefslogtreecommitdiff
path: root/src/libc/unistd/unistd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libc/unistd/unistd.c')
-rw-r--r--src/libc/unistd/unistd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libc/unistd/unistd.c b/src/libc/unistd/unistd.c
index 102e72a..9735df0 100644
--- a/src/libc/unistd/unistd.c
+++ b/src/libc/unistd/unistd.c
@@ -80,6 +80,5 @@ int getgroups(int size, gid_t list[]) {
}
int dup(int oldfd) {
- (void)oldfd;
- __libc_panic("unimplemented");
+ return _sys_dup(oldfd, -1, 0);
}