Fix typo in previous commit.
authorDavid S. Miller <davem@redhat.com>
Fri, 7 Apr 2006 23:34:26 +0000 (23:34 +0000)
committerDavid S. Miller <davem@redhat.com>
Fri, 7 Apr 2006 23:34:26 +0000 (23:34 +0000)
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.030776 seconds and 4 git commands to generate.