Fix typo in previous commit.
[deliverable/binutils-gdb.git] / gdb / linux-nat.c
index a60d8e0cacac2e7013c9bdea3fd0fb9dc8793534..f050e7e83f91545f2f90f89e5ff562de0140f542 100644 (file)
@@ -2388,7 +2388,7 @@ linux_nat_thread_alive (ptid_t ptid)
      will first do a lookup for the process based upon the
      passed-in pid.  If that fails we will get either -ESRCH
      or -EPERM, otherwise the child exists and is alive.  */
-  if (errno == -ESRCH || errno == -EPERM)
+  if (errno == ESRCH || errno == EPERM)
     return 0;
 
   return 1;
This page took 0.028932 seconds and 4 git commands to generate.