diff --git a/src/utils/task.c b/src/utils/task.c index 43bb4878..8396758d 100644 --- a/src/utils/task.c +++ b/src/utils/task.c @@ -2016,8 +2016,8 @@ int task_syscall(struct task_struct *task, int nr, unsigned long arg1, #if defined(__x86_64__) ret = ptrace(PTRACE_GETREGS, task->pid, NULL, &old_regs); #elif defined(__aarch64__) - ret = ptrace(PTRACE_GETREGSET, task->pid, (void*)NT_PRSTATUS, - (void*)&orig_regs_iov); + ret = ptrace(PTRACE_GETREGSET, task->pid, (void *)NT_PRSTATUS, + (void *)&orig_regs_iov); #else # error "Unsupport architecture" #endif @@ -2061,8 +2061,8 @@ int task_syscall(struct task_struct *task, int nr, unsigned long arg1, #if defined(__x86_64__) ret = ptrace(PTRACE_GETREGS, task->pid, NULL, ®s); #elif defined(__aarch64__) - ret = ptrace(PTRACE_GETREGSET, task->pid, (void*)NT_PRSTATUS, - (void*)®s_iov); + ret = ptrace(PTRACE_GETREGSET, task->pid, (void *)NT_PRSTATUS, + (void *)®s_iov); #else # error "Unsupport architecture" #endif