summaryrefslogtreecommitdiffstats
path: root/sys/dev/hea/eni_receive.c
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1999-01-27 20:09:21 +0000
committerdillon <dillon@FreeBSD.org>1999-01-27 20:09:21 +0000
commit0775a53cddb430a21259a269e0a7063ec0a1ee17 (patch)
treecb68685742f9729aa9c70ebcdc86355253673b77 /sys/dev/hea/eni_receive.c
parent5c8fc4f2c43c35ac665320db4c7ab03e6193d120 (diff)
downloadFreeBSD-src-0775a53cddb430a21259a269e0a7063ec0a1ee17.zip
FreeBSD-src-0775a53cddb430a21259a269e0a7063ec0a1ee17.tar.gz
Fix warnings preparing for -Wall -Wcast-qual
Also disable one usb module in LINT due to fatal compilation errors, temporary.
Diffstat (limited to 'sys/dev/hea/eni_receive.c')
-rw-r--r--sys/dev/hea/eni_receive.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/hea/eni_receive.c b/sys/dev/hea/eni_receive.c
index 8e8be36..883602b 100644
--- a/sys/dev/hea/eni_receive.c
+++ b/sys/dev/hea/eni_receive.c
@@ -23,7 +23,7 @@
* Copies of this Software may be made, however, the above copyright
* notice must be reproduced on all copies.
*
- * @(#) $Id: eni_receive.c,v 1.2 1998/09/17 09:34:58 phk Exp $
+ * @(#) $Id: eni_receive.c,v 1.3 1998/10/31 20:06:45 phk Exp $
*
*/
@@ -42,7 +42,7 @@
#include <dev/hea/eni_var.h>
#ifndef lint
-__RCSID("@(#) $Id: eni_receive.c,v 1.2 1998/09/17 09:34:58 phk Exp $");
+__RCSID("@(#) $Id: eni_receive.c,v 1.3 1998/10/31 20:06:45 phk Exp $");
#endif
static void eni_recv_stack __P((void *, KBuffer *));
@@ -114,8 +114,8 @@ eni_do_service ( eup )
* VCC into TRASH mode.
*/
if ( ( vci_hdr & VCI_IN_SERVICE ) == 0 ||
- ( vci_hdr & ~VCI_MODE_MASK ==
- VCI_MODE_TRASH << VCI_MODE_SHIFT ) )
+ ( (vci_hdr & ~VCI_MODE_MASK) ==
+ (VCI_MODE_TRASH << VCI_MODE_SHIFT) ) )
goto next_vcc;
/*
OpenPOWER on IntegriCloud