From a529be7c5ea8407a11ce97468d095ad1bc8859b5 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Fri, 7 Apr 2006 23:34:26 +0000 Subject: [PATCH] Fix typo in previous commit. --- gdb/linux-nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index a60d8e0cac..f050e7e83f 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;