* Return 0 on success and the syscall table is allocated. On error, a negative
* value is returned.
*/
-int syscall_init_table(void)
+int syscall_init_table(int tracer_fd)
{
int ret, fd, err;
size_t nbmem;
DBG3("Syscall init system call table");
- fd = kernctl_syscall_list(kernel_tracer_fd);
+ fd = kernctl_syscall_list(tracer_fd);
if (fd < 0) {
ret = fd;
PERROR("kernelctl syscall list");