summaryrefslogtreecommitdiff
path: root/src/user/lib/unistd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/lib/unistd.c')
-rw-r--r--src/user/lib/unistd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/user/lib/unistd.c b/src/user/lib/unistd.c
index 28164e6..d6f24f8 100644
--- a/src/user/lib/unistd.c
+++ b/src/user/lib/unistd.c
@@ -185,11 +185,11 @@ pid_t getpgrp(void) {
}
pid_t getpid(void) {
- __libc_panic("unimplemented");
+ return _sys_getpid();
}
pid_t getppid(void) {
- __libc_panic("unimplemented");
+ return _sys_getppid();
}
int getgroups(int size, gid_t list[]) {