diff options
Diffstat (limited to 'arch/sparc/kernel/ptrace.c')
-rw-r--r-- | arch/sparc/kernel/ptrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/ptrace.c b/arch/sparc/kernel/ptrace.c index 003f8eed32f4..fe562db475e9 100644 --- a/arch/sparc/kernel/ptrace.c +++ b/arch/sparc/kernel/ptrace.c | |||
@@ -155,7 +155,7 @@ static inline void read_sunos_user(struct pt_regs *regs, unsigned long offset, | |||
155 | /* Rest of them are completely unsupported. */ | 155 | /* Rest of them are completely unsupported. */ |
156 | default: | 156 | default: |
157 | printk("%s [%d]: Wants to read user offset %ld\n", | 157 | printk("%s [%d]: Wants to read user offset %ld\n", |
158 | current->comm, current->pid, offset); | 158 | current->comm, task_pid_nr(current), offset); |
159 | pt_error_return(regs, EIO); | 159 | pt_error_return(regs, EIO); |
160 | return; | 160 | return; |
161 | } | 161 | } |
@@ -222,7 +222,7 @@ static inline void write_sunos_user(struct pt_regs *regs, unsigned long offset, | |||
222 | /* Rest of them are completely unsupported or "no-touch". */ | 222 | /* Rest of them are completely unsupported or "no-touch". */ |
223 | default: | 223 | default: |
224 | printk("%s [%d]: Wants to write user offset %ld\n", | 224 | printk("%s [%d]: Wants to write user offset %ld\n", |
225 | current->comm, current->pid, offset); | 225 | current->comm, task_pid_nr(current), offset); |
226 | goto failure; | 226 | goto failure; |
227 | } | 227 | } |
228 | success: | 228 | success: |