From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan Lynch Subject: Re: [PATCH 02/10] cr_tests: fileio: Fix do_child(i) call Date: Mon, 15 Mar 2010 18:32:09 -0500 Message-ID: <1268695929.4397.134.camel@localhost.localdomain> References: <69be886209c375c99b00b0745c1b0efdf334dcc3.1268694050.git.matthltc@us.ibm.com> <39d445e0d6bb5b1420daf672aa48ebabf8648ffe.1268694050.git.matthltc@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <39d445e0d6bb5b1420daf672aa48ebabf8648ffe.1268694050.git.matthltc-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Matt Helsley Cc: Linux Containers List-Id: containers.vger.kernel.org On Mon, 2010-03-15 at 16:00 -0700, Matt Helsley wrote: > do_child() does not have an i parameter yet main calls do_child(i). > Clearly it's unused so just remove it. > > Signed-off-by: Matt Helsley > --- > fileio/fsetown1.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/fileio/fsetown1.c b/fileio/fsetown1.c > index a30e870..57f9bb6 100644 > --- a/fileio/fsetown1.c > +++ b/fileio/fsetown1.c > @@ -226,7 +226,7 @@ int main(int argc, char *argv[]) > */ > pid = fork(); > if (pid == 0) > - do_child(i); > + do_child(); Change the definition of do_child from void do_child() to void do_child(void) please? wait_for_child and setup_test_data need the same treatment.