diff options
Diffstat (limited to 'drivers/char/random.c')
-rw-r--r-- | drivers/char/random.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/random.c b/drivers/char/random.c index b430a12eb81..07f47a0208a 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c | |||
@@ -889,8 +889,8 @@ static void init_std_data(struct entropy_store *r) | |||
889 | 889 | ||
890 | do_gettimeofday(&tv); | 890 | do_gettimeofday(&tv); |
891 | add_entropy_words(r, (__u32 *)&tv, sizeof(tv)/4); | 891 | add_entropy_words(r, (__u32 *)&tv, sizeof(tv)/4); |
892 | add_entropy_words(r, (__u32 *)&system_utsname, | 892 | add_entropy_words(r, (__u32 *)utsname(), |
893 | sizeof(system_utsname)/4); | 893 | sizeof(*(utsname()))/4); |
894 | } | 894 | } |
895 | 895 | ||
896 | static int __init rand_initialize(void) | 896 | static int __init rand_initialize(void) |