From 58b0b59173dbb3943c42d0b34806b7adad2ef68c Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Sun, 15 Jun 2014 05:10:58 +0000 Subject: oops, typo. James Hartley is fast at trying -current --- src/lib/libc/stdlib/random.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libc/stdlib/random.c') diff --git a/src/lib/libc/stdlib/random.c b/src/lib/libc/stdlib/random.c index 0c388983be..737d4d27b6 100644 --- a/src/lib/libc/stdlib/random.c +++ b/src/lib/libc/stdlib/random.c @@ -1,4 +1,4 @@ -/* $OpenBSD: random.c,v 1.21 2014/06/15 01:49:06 deraadt Exp $ */ +/* $OpenBSD: random.c,v 1.22 2014/06/15 05:10:58 deraadt Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. * All rights reserved. @@ -259,7 +259,7 @@ srandomdev(void) else len = rand_deg * sizeof(state[0]); - arc4random_buf(buf, len); + arc4random_buf(state, len); if (rand_type != TYPE_0) { fptr = &state[rand_sep]; -- cgit v1.2.3-55-g6feb