summaryrefslogtreecommitdiff
path: root/sys/dev/isa/if_ec.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-10-04 22:28:15 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-10-04 22:28:15 +0000
commite8d405744b3f81813e5432ce3b3372d1a951b91d (patch)
treecb3aad29939a7c92c1956242c56ea17667ee0394 /sys/dev/isa/if_ec.c
parent5b90ef113d3d0bc24adf2dc49d3e144267995002 (diff)
Use swap16 not bswap16 in OpenBSD
Diffstat (limited to 'sys/dev/isa/if_ec.c')
-rw-r--r--sys/dev/isa/if_ec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/if_ec.c b/sys/dev/isa/if_ec.c
index 0cf18c389cf..b86abfd0c4f 100644
--- a/sys/dev/isa/if_ec.c
+++ b/sys/dev/isa/if_ec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ec.c,v 1.1 1998/09/22 06:33:18 fgsch Exp $ */
+/* $OpenBSD: if_ec.c,v 1.2 1998/10/04 22:28:14 niklas Exp $ */
/* $NetBSD: if_ec.c,v 1.9 1998/07/05 06:49:12 jonathan Exp $ */
/*-
@@ -754,7 +754,7 @@ ec_read_hdr(sc, packet_ptr, packet_hdrp)
ec_readmem(esc, packet_ptr, (u_int8_t *)packet_hdrp,
sizeof(struct dp8390_ring));
#if BYTE_ORDER == BIG_ENDIAN
- packet_hdrp->count = bswap16(packet_hdrp->count);
+ packet_hdrp->count = swap16(packet_hdrp->count);
#endif
}