aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-11-27 17:30:41 +0000
committerWarner Losh <imp@FreeBSD.org>2002-11-27 17:30:41 +0000
commit3a28284461402fb63bab8993cc82a36ed32bd2ba (patch)
treee58d4aed35c5122bb1716ee3cff0c6e2f11d9e97 /sys
parentf85a9619308f613cc09343f3ea038dd13d7a260c (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/cardbus/cardbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cardbus/cardbus.c b/sys/dev/cardbus/cardbus.c
index 3b81861331ce..ff162ddd9b1a 100644
--- a/sys/dev/cardbus/cardbus.c
+++ b/sys/dev/cardbus/cardbus.c
@@ -951,7 +951,7 @@ cardbus_read_ivar(device_t cbdev, device_t child, int which, u_long *result)
* The generic accessor doesn't deal with failure, so
* we set the return value, then return an error.
*/
- if (dinfo->fepresent & (1<<TPL_FUNCE_LAN_NID) == 0) {
+ if ((dinfo->fepresent & (1 << TPL_FUNCE_LAN_NID)) == 0) {
*((u_int8_t **) result) = NULL;
return (EINVAL);
}