From: Jeff Garzik Date: Tue, 17 Aug 2010 20:05:07 +0000 (-0400) Subject: Fix -Wshadow warning. X-Git-Tag: v4~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5db96329f07ceaf2978e36f4707261beceb4aec7;p=thirdparty%2Frng-tools.git Fix -Wshadow warning. Signed-off-by: Jeff Garzik --- diff --git a/rngd.c b/rngd.c index 6a7f120..d4cf870 100644 --- a/rngd.c +++ b/rngd.c @@ -180,12 +180,12 @@ static struct argp argp = { options, parse_opt, NULL, doc }; static int update_kernel_random(int random_step, double poll_timeout, - unsigned char *buf, fips_ctx_t *fipsctx) + unsigned char *buf, fips_ctx_t *fipsctx_in) { unsigned char *p; int fips; - fips = fips_run_rng_test(fipsctx, buf); + fips = fips_run_rng_test(fipsctx_in, buf); if (fips) { message(LOG_DAEMON|LOG_ERR, "failed fips test\n"); return 1;