summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2007-10-24 20:08:03 +0000
committerderaadt <deraadt@openbsd.org>2007-10-24 20:08:03 +0000
commitae06ac7a43c916aacd04e4a7bfa68336abb62cee (patch)
tree89c0f9de08fb30258541e1126f5f6c0e4739dd71
parentpipleine -> pipeline (diff)
downloadwireguard-openbsd-ae06ac7a43c916aacd04e4a7bfa68336abb62cee.tar.xz
wireguard-openbsd-ae06ac7a43c916aacd04e4a7bfa68336abb62cee.zip
make older gcc happier
-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