diff --git a/examples/syscall-steal.c b/examples/syscall-steal.c index e0d5bd38..4b4fa3dd 100644 --- a/examples/syscall-steal.c +++ b/examples/syscall-steal.c @@ -251,8 +251,10 @@ static int __init syscall_steal_start(void) return err; } #else - if (!(sys_call_table_stolen = acquire_sys_call_table())) - return -1; + if (!(sys_call_table_stolen = acquire_sys_call_table())) { + pr_err("Cannot ge the sys_call_table\n"); + return 0; + } disable_write_protection();