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@xxxxxxxxxx> diff --git a/fileio/fsetown1.c b/fileio/fsetown1.c index a30e870..9d55e59 100644 --- a/fileio/fsetown1.c +++ b/fileio/fsetown1.c @@ -120,7 +120,7 @@ void test_owner(int fd, int exp_owner) return; } -void do_child() +void do_child(void) { int rc; char buf[16]; @@ -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(), _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers