summaryrefslogtreecommitdiff
path: root/sys/dev/i2c/i2c_scan.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-10-24 20:08:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-10-24 20:08:04 +0000
commitbf877387ad35b4d52b8c17b54510fbdc187d1105 (patch)
treee2ab8e8a31864a46d174e921ddef053d10873c7b /sys/dev/i2c/i2c_scan.c
parent9b8b71cbf4f3001f0a9967628c2df963d576edae (diff)
make older gcc happier
Diffstat (limited to 'sys/dev/i2c/i2c_scan.c')
-rw-r--r--sys/dev/i2c/i2c_scan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/i2c/i2c_scan.c b/sys/dev/i2c/i2c_scan.c
index ba234e1d2a1..47fb3e0ce02 100644
--- a/sys/dev/i2c/i2c_scan.c
+++ b/sys/dev/i2c/i2c_scan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i2c_scan.c,v 1.107 2007/10/24 19:56:06 cnst Exp $ */
+/* $OpenBSD: i2c_scan.c,v 1.108 2007/10/24 20:08:03 deraadt Exp $ */
/*
* Copyright (c) 2005 Theo de Raadt <deraadt@openbsd.org>
@@ -950,7 +950,7 @@ iic_scan(struct device *self, struct i2cbus_attach_args *iba)
continue;
}
#ifdef I2C_VERBOSE
- if (probes[i].flags & PFLAG_SENSOR)
+ if ((probes[i].flags & PFLAG_SENSOR))
iic_dump(self, addr, name);
#endif /* I2C_VERBOSE */
} else