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
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ void Register(size_t index, void* function)
if ( SYSCALL_MAX_NUM <= index )
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;
}