Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb fix misplaced paren
details: https://anonhg.NetBSD.org/src/rev/c400d7fe52a9
branches: trunk
changeset: 784056:c400d7fe52a9
user: christos <christos%NetBSD.org@localhost>
date: Wed Jan 16 17:18:55 2013 +0000
description:
fix misplaced paren
diffstat:
sys/dev/usb/if_axe.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 55ae81893d2e -r c400d7fe52a9 sys/dev/usb/if_axe.c
--- a/sys/dev/usb/if_axe.c Wed Jan 16 16:01:05 2013 +0000
+++ b/sys/dev/usb/if_axe.c Wed Jan 16 17:18:55 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_axe.c,v 1.62 2013/01/05 01:30:15 christos Exp $ */
+/* $NetBSD: if_axe.c,v 1.63 2013/01/16 17:18:55 christos Exp $ */
/* $OpenBSD: if_axe.c,v 1.96 2010/01/09 05:33:08 jsg Exp $ */
/*
@@ -89,7 +89,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_axe.c,v 1.62 2013/01/05 01:30:15 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_axe.c,v 1.63 2013/01/16 17:18:55 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -930,7 +930,7 @@
goto done;
}
- rxlen = le16toh(hdr.len & AXE_RH1M_RXLEN_MASK);
+ rxlen = le16toh(hdr.len) & AXE_RH1M_RXLEN_MASK;
if (total_len < rxlen) {
pktlen = total_len;
total_len = 0;
Home |
Main Index |
Thread Index |
Old Index