From c0608f199fc711aa82867f80059dfeebf38b4a25 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 6 Sep 2020 00:02:41 +0200 Subject: Fixed GPF on non-existent exec --- libc/inc/sys.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libc') diff --git a/libc/inc/sys.h b/libc/inc/sys.h index 7c3e6fb..073ccd2 100644 --- a/libc/inc/sys.h +++ b/libc/inc/sys.h @@ -67,6 +67,7 @@ int sysv(enum sys num, ...); { \ sys1(SYS_EXIT, (int)status); \ while (1) { \ + yield(); \ } \ } #define yield() (int)sys0(SYS_YIELD) -- cgit v1.2.3