summaryrefslogtreecommitdiff
path: root/userland/libc/pty.c
diff options
context:
space:
mode:
Diffstat (limited to 'userland/libc/pty.c')
-rw-r--r--userland/libc/pty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/userland/libc/pty.c b/userland/libc/pty.c
index b7ddf00..17b91de 100644
--- a/userland/libc/pty.c
+++ b/userland/libc/pty.c
@@ -11,5 +11,5 @@ int openpty(int *amaster, int *aslave, char *name,
.termp = termp,
.winp = winp,
};
- syscall(SYS_OPENPTY, &args, 0, 0, 0, 0);
+ return syscall(SYS_OPENPTY, &args, 0, 0, 0, 0);
}