diff options
author | Marvin Borner | 2020-09-06 00:02:41 +0200 |
---|---|---|
committer | Marvin Borner | 2020-09-06 00:02:41 +0200 |
commit | c0608f199fc711aa82867f80059dfeebf38b4a25 (patch) | |
tree | 2495344b5910bf5f1c2977fc829b715ca320ffb3 /libc/inc/sys.h | |
parent | b00d78697723eb3930a40125c02d328548946206 (diff) |
Fixed GPF on non-existent exec
Diffstat (limited to 'libc/inc/sys.h')
-rw-r--r-- | libc/inc/sys.h | 1 |
1 files changed, 1 insertions, 0 deletions
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) |