Fixed syscall number logging