aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-nat.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2006-04-07 23:34:26 +0000
committerDavid S. Miller <davem@redhat.com>2006-04-07 23:34:26 +0000
commita529be7c5ea8407a11ce97468d095ad1bc8859b5 (patch)
tree1042031a3124d65ab3e3514d58c466a789b16fe5 /gdb/linux-nat.c
parent9c0dd46b95f82899ba2648fb6c1e7561382098dc (diff)
downloadgdb-a529be7c5ea8407a11ce97468d095ad1bc8859b5.zip
gdb-a529be7c5ea8407a11ce97468d095ad1bc8859b5.tar.gz
gdb-a529be7c5ea8407a11ce97468d095ad1bc8859b5.tar.bz2
Fix typo in previous commit.
Diffstat (limited to 'gdb/linux-nat.c')
-rw-r--r--gdb/linux-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index a60d8e0..f050e7e 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;