From: David S. Miller Date: Fri, 7 Apr 2006 23:34:26 +0000 (+0000) Subject: Fix typo in previous commit. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a529be7c5ea8407a11ce97468d095ad1bc8859b5;p=binutils-gdb.git Fix typo in previous commit. --- diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index a60d8e0caca..f050e7e83f9 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -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;