summaryrefslogtreecommitdiffstats
path: root/sys/dev/cardbus
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-11-27 17:30:41 +0000
committerimp <imp@FreeBSD.org>2002-11-27 17:30:41 +0000
commit4100ca60e349cbed2d5c8eaff9451ec65dcdb2e8 (patch)
treee58d4aed35c5122bb1716ee3cff0c6e2f11d9e97 /sys/dev/cardbus
parentb4c9e243034607978f64c555ada7cb0d0ee455b4 (diff)
downloadFreeBSD-src-4100ca60e349cbed2d5c8eaff9451ec65dcdb2e8.zip
FreeBSD-src-4100ca60e349cbed2d5c8eaff9451ec65dcdb2e8.tar.gz
Need more parens here.
Approved by: re (blanket)
Diffstat (limited to 'sys/dev/cardbus')
-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 3b81861..ff162dd 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);
}
OpenPOWER on IntegriCloud