diff options
author | David S. Miller <davem@redhat.com> | 2006-04-07 23:34:26 +0000 |
---|---|---|
committer | David S. Miller <davem@redhat.com> | 2006-04-07 23:34:26 +0000 |
commit | a529be7c5ea8407a11ce97468d095ad1bc8859b5 (patch) | |
tree | 1042031a3124d65ab3e3514d58c466a789b16fe5 /gdb/linux-nat.c | |
parent | 9c0dd46b95f82899ba2648fb6c1e7561382098dc (diff) | |
download | gdb-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.c | 2 |
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; |