diff options
author | 2008-06-09 07:07:15 +0000 | |
---|---|---|
committer | 2008-06-09 07:07:15 +0000 | |
commit | 780f39a56d559ff298e05915f7eec6982812543f (patch) | |
tree | 053cbc4b09bacddfbc7995b9f28b900707c72486 /sys/dev/pci/if_ix.c | |
parent | - sort the hardware list (diff) | |
download | wireguard-openbsd-780f39a56d559ff298e05915f7eec6982812543f.tar.xz wireguard-openbsd-780f39a56d559ff298e05915f7eec6982812543f.zip |
rename arc4random_bytes => arc4random_buf to match libc's nicer name;
ok deraadt@
Diffstat (limited to 'sys/dev/pci/if_ix.c')
-rw-r--r-- | sys/dev/pci/if_ix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_ix.c b/sys/dev/pci/if_ix.c index 05ba2f072a5..b90f1aebda3 100644 --- a/sys/dev/pci/if_ix.c +++ b/sys/dev/pci/if_ix.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ix.c,v 1.5 2008/06/08 21:15:34 reyk Exp $ */ +/* $OpenBSD: if_ix.c,v 1.6 2008/06/09 07:07:16 djm Exp $ */ /****************************************************************************** @@ -2587,7 +2587,7 @@ ixgbe_initialize_receive_units(struct ix_softc *sc) if (sc->num_rx_queues > 1) { /* set up random bits */ - arc4random_bytes(&random, sizeof(random)); + arc4random_buf(&random, sizeof(random)); switch (sc->num_rx_queues) { case 8: case 4: |