[Devel] [PATCH 02/10] cr_tests: fileio: Fix do_child(i) call

Matt Helsley matthltc at us.ibm.com
Mon Mar 15 16:00:58 PDT 2010


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 <matthltc at us.ibm.com>
---
 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();
 
 	if (pid < 0) {
 		fprintf(logfp, "%d: fork() failed, error %s\n", getpid(),
-- 
1.6.3.3

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list