summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ne2000.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/ne2000.c')
-rw-r--r--sys/dev/ic/ne2000.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ne2000.c b/sys/dev/ic/ne2000.c
index 6d973c395b4..6834706b2df 100644
--- a/sys/dev/ic/ne2000.c
+++ b/sys/dev/ic/ne2000.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ne2000.c,v 1.1 1998/09/22 06:38:03 fgsch Exp $ */
+/* $OpenBSD: ne2000.c,v 1.2 1998/10/04 22:28:14 niklas Exp $ */
/* $NetBSD: ne2000.c,v 1.12 1998/06/10 01:15:50 thorpej Exp $ */
/*-
@@ -623,7 +623,7 @@ ne2000_read_hdr(sc, buf, hdr)
buf, (u_int8_t *)hdr, sizeof(struct dp8390_ring),
(nsc->sc_type == NE2000_TYPE_NE2000));
#if BYTE_ORDER == BIG_ENDIAN
- hdr->count = bswap16(hdr->count);
+ hdr->count = swap16(hdr->count);
#endif
}