forked from Bananymous/banan-os
Kernel: we don't panic anymore on unrecognized syscall
This commit is contained in:
parent
e31080bce3
commit
825ec221b7
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue