summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2004-09-08 23:01:55 +0000
committerderaadt <deraadt@openbsd.org>2004-09-08 23:01:55 +0000
commitd698f0951c311adefc77701971efa02a828383c2 (patch)
tree6eddc19526f2b338d205ad17a63f7f65264b3c29
parentfill out more on console and boot devices (diff)
downloadwireguard-openbsd-d698f0951c311adefc77701971efa02a828383c2.tar.xz
wireguard-openbsd-d698f0951c311adefc77701971efa02a828383c2.zip
typo, wrong type; cd@sentia.nl
-rw-r--r--sys/dev/pci/if_em.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c
index 51cd04383ee..d440c315da4 100644
--- a/sys/dev/pci/if_em.c
+++ b/sys/dev/pci/if_em.c
@@ -32,7 +32,7 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
/*$FreeBSD: if_em.c,v 1.38 2004/03/17 17:50:31 njl Exp $*/
-/* $OpenBSD: if_em.c,v 1.25 2004/09/06 08:49:19 markus Exp $ */
+/* $OpenBSD: if_em.c,v 1.26 2004/09/08 23:01:55 deraadt Exp $ */
#include "bpfilter.h"
#include "vlan.h"
@@ -583,7 +583,7 @@ em_attach(struct device *parent, struct device *self, void *aux)
sc->tx_desc_base = (struct em_tx_desc *)sc->txdma.dma_vaddr;
rsize = EM_ROUNDUP(sc->num_rx_desc * sizeof(struct em_rx_desc),
- EM_MAX_RXD * sizeof(struct em_tx_desc));
+ EM_MAX_RXD * sizeof(struct em_rx_desc));
rsize = EM_ROUNDUP(rsize, PAGE_SIZE);
/* Allocate Receive Descriptor ring */