From 0041f7f4082d7a8df967c2033fcfc5b5434fcf3c Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Mon, 23 Mar 2009 15:54:19 -0700 Subject: [PATCH 1/1] fix up some compiler warnings due to new patches --- bti.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bti.c b/bti.c index 4273d23..5f4a6cb 100644 --- a/bti.c +++ b/bti.c @@ -736,11 +736,11 @@ static int popenRWE(int *rwepipe, const char *exe, const char *const argv[]) close(out[0]); close(err[0]); close(0); - dup(in[0]); + rc = dup(in[0]); close(1); - dup(out[1]); + rc = dup(out[1]); close(2); - dup(err[1]); + rc = dup(err[1]); execvp(exe, (char**)argv); exit(1); -- 2.39.5