Skip to content

Commit

Permalink
task.c: Code format
Browse files Browse the repository at this point in the history
Signed-off-by: Rong Tao <[email protected]>
  • Loading branch information
Rtoax committed Jul 4, 2024
1 parent 9ddfbd5 commit a8c9dfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/task.c
Original file line number Diff line number Diff line change
Expand Up @@ -2017,7 +2017,7 @@ int task_syscall(struct task_struct *task, int nr, unsigned long arg1,
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);
(void *)&orig_regs_iov);
#else
# error "Unsupport architecture"
#endif
Expand Down Expand Up @@ -2062,7 +2062,7 @@ int task_syscall(struct task_struct *task, int nr, unsigned long arg1,
ret = ptrace(PTRACE_GETREGS, task->pid, NULL, &regs);
#elif defined(__aarch64__)
ret = ptrace(PTRACE_GETREGSET, task->pid, (void *)NT_PRSTATUS,
(void*)&regs_iov);
(void *)&regs_iov);
#else
# error "Unsupport architecture"
#endif
Expand Down

0 comments on commit a8c9dfd

Please sign in to comment.