1
0
Fork 0
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:
Jonas 'Sortie' Termansen 2014-02-20 16:52:45 +01:00
parent 093d583dea
commit 9cc2f555e5

View file

@ -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;
} }