summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/cddl/compat/opensolaris/sys/random.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/compat/opensolaris/sys/random.h b/sys/cddl/compat/opensolaris/sys/random.h
index 0cdea34..e0ecd9c 100644
--- a/sys/cddl/compat/opensolaris/sys/random.h
+++ b/sys/cddl/compat/opensolaris/sys/random.h
@@ -32,6 +32,6 @@
#include_next <sys/random.h>
#define random_get_bytes(p, s) read_random((p), (int)(s))
-#define random_get_pseudo_bytes(p, s) read_random((p), (int)(s))
+#define random_get_pseudo_bytes(p, s) arc4rand((p), (int)(s), 0)
#endif /* !_OPENSOLARIS_SYS_RANDOM_H_ */
OpenPOWER on IntegriCloud