diff options
author | Chris Kuethe <ckuethe@cvs.openbsd.org> | 2007-02-26 19:24:28 +0000 |
---|---|---|
committer | Chris Kuethe <ckuethe@cvs.openbsd.org> | 2007-02-26 19:24:28 +0000 |
commit | 6191dbb8e6d985ea72bc2774fe30d8e55281809a (patch) | |
tree | e1c35f7040f76bf0b31f430ec7615b586bc9f7ba | |
parent | 18d8e6217f419dbfa329242919449466e560096a (diff) |
Fix typo, allowing this to compile again. Committed over cdcef0
ok millert
-rw-r--r-- | sys/dev/usb/if_cdcef.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_cdcef.c b/sys/dev/usb/if_cdcef.c index 9a507509286..846e5ee7625 100644 --- a/sys/dev/usb/if_cdcef.c +++ b/sys/dev/usb/if_cdcef.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_cdcef.c,v 1.10 2007/02/26 15:41:28 drahn Exp $ */ +/* $OpenBSD: if_cdcef.c,v 1.11 2007/02/26 19:24:27 ckuethe Exp $ */ /* * Copyright (c) 2007 Dale Rahn <drahn@openbsd.org> @@ -291,7 +291,7 @@ cdcef_start(struct ifnet *ifp) return; } - if (sc->sc_listening == 0 || m_head->mpkthdr.len > CDCEF_BUFSZ) { + if (sc->sc_listening == 0 || m_head->m_pkthdr.len > CDCEF_BUFSZ) { /* * drop packet because reciever is not listening, * or if packet is larger than xmit buffer |