Kernel: we don't panic anymore on unrecognized syscall

This commit is contained in:
Bananymous 2023-06-11 00:18:48 +03:00
parent e31080bce3
commit 825ec221b7
1 changed files with 3 additions and 1 deletions

View File

@ -227,7 +227,9 @@ namespace Kernel
ret = sys_read_dir_entries((int)arg1, (API::DirectoryEntryList*)arg2, (size_t)arg3); ret = sys_read_dir_entries((int)arg1, (API::DirectoryEntryList*)arg2, (size_t)arg3);
break; break;
default: default:
Kernel::panic("Unknown syscall {}", syscall); dwarnln("Unknown syscall {}", syscall);
ret = -ENOSYS;
break;
} }
asm volatile("cli"); asm volatile("cli");