Commit 1a80d390 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Fix warnings about ignored return values.


(cherry picked from commit 27131fe8)
Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
parent c5526a16
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -2608,7 +2608,11 @@ static int do_multi(int multi)
	fds=malloc(multi*sizeof *fds);
	for(n=0 ; n < multi ; ++n)
		{
		pipe(fd);
		if (pipe(fd) == -1)
			{
			fprintf(stderr, "pipe failure\n");
			exit(1);
			}
		fflush(stdout);
		fflush(stderr);
		if(fork())
@@ -2620,7 +2624,11 @@ static int do_multi(int multi)
			{
			close(fd[0]);
			close(1);
			dup(fd[1]);
			if (dup(fd[1]) == -1)
				{
				fprintf(stderr, "dup failed\n");
				exit(1);
				}
			close(fd[1]);
			mr=1;
			usertime=0;