From 81819f711e6d1f9216f688da8ecbbc682d106d9c Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Thu, 23 Nov 2023 00:52:35 +0100 Subject: LibC: Reduce warnings in code --- userland/libc/pty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'userland/libc/pty.c') 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); } -- cgit v1.2.3