]> gcc.gnu.org Git - gcc.git/commitdiff
ada: Fix syntax error
authorAndris Pavēnis <andris.pavenis@iki.fi>
Sat, 19 Aug 2023 08:01:18 +0000 (11:01 +0300)
committerMarc Poulhiès <poulhies@adacore.com>
Fri, 10 Nov 2023 16:07:50 +0000 (17:07 +0100)
gcc/ada/
* expect.c (__gnat_waitpid): fix syntax errors

gcc/ada/expect.c

index e6899632bc9045e70d7c70def7f43cc4eaa3595d..7333c11d9542f942322345357a74d67b3742cfdf 100644 (file)
@@ -346,11 +346,11 @@ __gnat_waitpid (int pid)
      return -1;
   }
 
-  if WIFEXITED (status) {
+  if (WIFEXITED (status)) {
      status = WEXITSTATUS (status);
-  } else if WIFSIGNALED (status) {
+  } else if (WIFSIGNALED (status)) {
      status = WTERMSIG (status);
-  } else if WIFSTOPPED (status) {
+  } else if (WIFSTOPPED (status)) {
      status = WSTOPSIG (status);
   }
 
This page took 0.065734 seconds and 5 git commands to generate.