summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Bergman <vkni@altlinux.org>2017-11-01 23:57:46 -0500
committerSébastien Hinderer <Sebastien.Hinderer@inria.fr>2017-11-02 15:28:00 +0100
commit1cce8393f3f36e13ce59f288119aad1d7108e138 (patch)
tree7967739d1c0c2f5358d041f6063e72f831a79a19
parent489fabb21f0043811797a722da020934dd1618bb (diff)
downloadocaml-1cce8393f3f36e13ce59f288119aad1d7108e138.tar.gz
Add parentheses in switch.
-rw-r--r--ocamltest/run_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ocamltest/run_unix.c b/ocamltest/run_unix.c
index 393a9b7535..d388d826d4 100644
--- a/ocamltest/run_unix.c
+++ b/ocamltest/run_unix.c
@@ -244,7 +244,7 @@ static int run_command_parent(const command_settings *settings, pid_t child_pid)
pid = wait(&status);
if (pid == -1)
{
- switch errno
+ switch( errno)
{
case EINTR:
if ((settings->timeout > 0) && (timeout_expired))