libc.obj: fix strtok && update change path to exit code
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 1m33s
Build system / Build (pull_request) Successful in 10m23s

This commit is contained in:
2026-02-20 18:16:15 +05:00
parent 89e26439d5
commit 2a5f192267
9 changed files with 67 additions and 70 deletions

View File

@@ -36,7 +36,6 @@ int system(const char* command)
// wait of end of shell
ksys_thread_t t;
int slot = _ksys_get_thread_slot(pid);
while (_ksys_thread_info(&t, pid) != -1 && t.slot_state != 3 && t.slot_state != 4 && t.slot_state != 9) {
_ksys_thread_yield();
}