diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2019-11-25 10:29:51 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2019-11-25 10:29:51 +0000 |
commit | ee499b407f6c59fe71c91fa7ad9686d1a4edfce3 (patch) | |
tree | 342385e64c18b45173cf40ccdf23203cf0ad5a67 /gcc/ada/expect.c | |
parent | d0b1b67aabc2b88b58a7485f79d16f9a6d4dd11c (diff) | |
download | gcc-ee499b407f6c59fe71c91fa7ad9686d1a4edfce3.zip gcc-ee499b407f6c59fe71c91fa7ad9686d1a4edfce3.tar.gz gcc-ee499b407f6c59fe71c91fa7ad9686d1a4edfce3.tar.bz2 |
re PR ada/92575 (couple of suspicious assignments in expect.c)
PR ada/92575
* expect.c (__gnat_expect_poll [VMS, HPUX]): Fix typo.
From-SVN: r278671
Diffstat (limited to 'gcc/ada/expect.c')
-rw-r--r-- | gcc/ada/expect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/expect.c b/gcc/ada/expect.c index 349af3f..b8753ab 100644 --- a/gcc/ada/expect.c +++ b/gcc/ada/expect.c @@ -262,7 +262,7 @@ __gnat_expect_poll (int *fd, if ((status & 1) != 1) { ready = -1; - dead_process = i + 1; + *dead_process = i + 1; return ready; } } @@ -447,7 +447,7 @@ __gnat_expect_poll (int *fd, if (ei.request == TIOCCLOSE) { ioctl (fd[i], TIOCREQSET, &ei); - dead_process = i + 1; + *dead_process = i + 1; return -1; } |