]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/sparc/kernel/ptrace.c
[SPARC32]: Spelling fixes
[mv-sheeva.git] / arch / sparc / kernel / ptrace.c
index 003f8eed32f413e8ba835bdcfea2e16d703789c5..7452269bba2a680a2fa192f20b7fbb1b5528b842 100644 (file)
@@ -5,7 +5,7 @@
  * Based upon code written by Ross Biro, Linus Torvalds, Bob Manson,
  * and David Mosberger.
  *
- * Added Linux support -miguel (weird, eh?, the orignal code was meant
+ * Added Linux support -miguel (weird, eh?, the original code was meant
  * to emulate SunOS).
  */
 
@@ -155,7 +155,7 @@ static inline void read_sunos_user(struct pt_regs *regs, unsigned long offset,
                /* Rest of them are completely unsupported. */
        default:
                printk("%s [%d]: Wants to read user offset %ld\n",
-                      current->comm, current->pid, offset);
+                      current->comm, task_pid_nr(current), offset);
                pt_error_return(regs, EIO);
                return;
        }
@@ -222,7 +222,7 @@ static inline void write_sunos_user(struct pt_regs *regs, unsigned long offset,
                /* Rest of them are completely unsupported or "no-touch". */
        default:
                printk("%s [%d]: Wants to write user offset %ld\n",
-                      current->comm, current->pid, offset);
+                      current->comm, task_pid_nr(current), offset);
                goto failure;
        }
 success: