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 36519e8 commit 9ddfbd5
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 @@ -2016,7 +2016,7 @@ 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,
ret = ptrace(PTRACE_GETREGSET, task->pid, (void *)NT_PRSTATUS,
(void*)&orig_regs_iov);
#else
# error "Unsupport architecture"
Expand Down Expand Up @@ -2061,7 +2061,7 @@ int task_syscall(struct task_struct *task, int nr, unsigned long arg1,
#if defined(__x86_64__)
ret = ptrace(PTRACE_GETREGS, task->pid, NULL, &regs);
#elif defined(__aarch64__)
ret = ptrace(PTRACE_GETREGSET, task->pid, (void*)NT_PRSTATUS,
ret = ptrace(PTRACE_GETREGSET, task->pid, (void *)NT_PRSTATUS,
(void*)&regs_iov);
#else
# error "Unsupport architecture"
Expand Down

0 comments on commit 9ddfbd5

Please sign in to comment.