summaryrefslogtreecommitdiffstats
path: root/entropy.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-05-16 15:51:44 +1000
committerDamien Miller <djm@mindrot.org>2003-05-16 15:51:44 +1000
commitc46b6bc4f7341198707355c8aff1d6702830f77e (patch)
treea3a2684347891be9351e73599696973dc632f811 /entropy.c
parente3e71247c3a63e3169f25e49c6e9c6438a3b922e (diff)
- (djm) A few type mismatch fixes from Bug #565
Diffstat (limited to 'entropy.c')
-rw-r--r--entropy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/entropy.c b/entropy.c
index dcc8689c..a16ea10b 100644
--- a/entropy.c
+++ b/entropy.c
@@ -45,7 +45,7 @@
* XXX: we should tell the child how many bytes we need.
*/
-RCSID("$Id: entropy.c,v 1.44 2002/06/09 19:41:48 mouring Exp $");
+RCSID("$Id: entropy.c,v 1.45 2003/05/16 05:51:45 djm Exp $");
#ifndef OPENSSL_PRNG_ONLY
#define RANDOM_SEED_SIZE 48
@@ -89,8 +89,8 @@ seed_rng(void)
if (original_uid != original_euid &&
( seteuid(getuid()) == -1 ||
setuid(original_uid) == -1) ) {
- fprintf(stderr, "(rand child) setuid(%d): %s\n",
- original_uid, strerror(errno));
+ fprintf(stderr, "(rand child) setuid(%li): %s\n",
+ (long int)original_uid, strerror(errno));
_exit(1);
}