gdb/ChangeLog:
        * procfs.c (procfs_init_inferior): Fix typo causing the build
        to fail.
+2013-10-04  Joel Brobecker  <brobecker@adacore.com>
+
+       * procfs.c (procfs_init_inferior): Fix typo causing the build
+       to fail.
+
 2013-10-04  Joel Brobecker  <brobecker@adacore.com>
 
        * aix-thread.c (ptrace32): Remove cast to addr_ptr.
 
      this point, but it didn't have any lwp info yet.  Notify the core
      about it.  This changes inferior_ptid as well.  */
   thread_change_ptid (pid_to_ptid (pid),
-                     ptid_build (pid, lwpid), 0);
+                     ptid_build (pid, lwpid, 0));
 
   /* Typically two, one trap to exec the shell, one to exec the
      program being debugged.  Defined by "inferior.h".  */