]> git.ipfire.org Git - thirdparty/rng-tools.git/commitdiff
Fix -Wshadow warning.
authorJeff Garzik <jeff@garzik.org>
Tue, 17 Aug 2010 20:05:07 +0000 (16:05 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 17 Aug 2010 20:05:07 +0000 (16:05 -0400)
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
rngd.c

diff --git a/rngd.c b/rngd.c
index 6a7f1204c85f290cc930ff914165c6d9cfeafeb0..d4cf870faa1be3a78545f6ef82c0b366fc395871 100644 (file)
--- 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;