use correct syscall