aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2010-08-17 16:05:07 -0400
committerJeff Garzik <jgarzik@redhat.com>2010-08-17 16:05:07 -0400
commit5db96329f07ceaf2978e36f4707261beceb4aec7 (patch)
tree1b4912848121e59d01d3f9fa19ddf52a0bf5b4f0
parent62838c656e342608ab7aa4e58c567987e4342a55 (diff)
downloadrng-tools-5db96329f07ceaf2978e36f4707261beceb4aec7.tar.gz
rng-tools-5db96329f07ceaf2978e36f4707261beceb4aec7.tar.xz
rng-tools-5db96329f07ceaf2978e36f4707261beceb4aec7.zip
Fix -Wshadow warning.
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
-rw-r--r--rngd.c4
1 files changed, 2 insertions, 2 deletions
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;