summaryrefslogtreecommitdiff
path: root/sys/dev/ic/awi.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-10-17 05:21:14 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-10-17 05:21:14 +0000
commit0273d99d6c48aaf168e12e04194fc5355e39e23f (patch)
tree06682908ead0bf5e4763e1a500eb984e5ecc3dd8 /sys/dev/ic/awi.c
parentc4991e64227a437d088abc3f6e640701a6df2ab4 (diff)
compatibility issue
Diffstat (limited to 'sys/dev/ic/awi.c')
-rw-r--r--sys/dev/ic/awi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ic/awi.c b/sys/dev/ic/awi.c
index eeab4b80036..11551ce322f 100644
--- a/sys/dev/ic/awi.c
+++ b/sys/dev/ic/awi.c
@@ -312,7 +312,7 @@ awi_attach(sc)
#ifdef IFF_NOTRAILERS
ifp->if_flags |= IFF_NOTRAILERS;
#endif
-#ifdef __NetBSD__
+#if defined(__NetBSD__) || defined(__OpenBSD__)
memcpy(ifp->if_xname, sc->sc_dev.dv_xname, IFNAMSIZ);
#endif
#ifdef __FreeBSD__