mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix print format warnings in kernel/syscall.cpp.
This commit is contained in:
parent
093d583dea
commit
9cc2f555e5
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ void Register(size_t index, void* function)
|
||||||
|
|
||||||
if ( SYSCALL_MAX_NUM <= index )
|
if ( SYSCALL_MAX_NUM <= index )
|
||||||
PanicF("Attempted to register system call %p to index %zu, but "
|
PanicF("Attempted to register system call %p to index %zu, but "
|
||||||
"SYSCALL_MAX_NUM = %zu", function, index, SYSCALL_MAX_NUM);
|
"SYSCALL_MAX_NUM = %zu", function, index, (size_t) SYSCALL_MAX_NUM);
|
||||||
syscall_list[index] = function;
|
syscall_list[index] = function;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue