diff options
author | Damien Miller <djm@mindrot.org> | 2003-05-16 07:51:44 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-05-16 07:51:44 +0200 |
commit | c46b6bc4f7341198707355c8aff1d6702830f77e (patch) | |
tree | a3a2684347891be9351e73599696973dc632f811 /entropy.c | |
parent | clarify (diff) | |
download | openssh-c46b6bc4f7341198707355c8aff1d6702830f77e.tar.xz openssh-c46b6bc4f7341198707355c8aff1d6702830f77e.zip |
- (djm) A few type mismatch fixes from Bug #565
Diffstat (limited to 'entropy.c')
-rw-r--r-- | entropy.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); } |