summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-11-09 12:55:07 +0000
committeralfred <alfred@FreeBSD.org>2002-11-09 12:55:07 +0000
commit533541c47bc98b118c55a2c646188e129abde3b8 (patch)
tree00d1b1f343ceacaa4c61b263e81e4f79e7449948 /sys/i386
parent75770c482cd1308590f40a83da5eccefb24a2d44 (diff)
downloadFreeBSD-src-533541c47bc98b118c55a2c646188e129abde3b8.zip
FreeBSD-src-533541c47bc98b118c55a2c646188e129abde3b8.tar.gz
Fix instances of macros with improperly parenthasized arguments.
Verified by: md5
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/isa/gpib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/isa/gpib.c b/sys/i386/isa/gpib.c
index ce4824e..0bd0fce 100644
--- a/sys/i386/isa/gpib.c
+++ b/sys/i386/isa/gpib.c
@@ -35,7 +35,7 @@
#error "The gpib device requires the old isa compatibility shims"
#endif
-#define MIN(a, b) ((a < b) ? a : b)
+#define MIN(a, b) (((a) < (b)) ? (a) : (b))
#define GPIBPRI (PZERO + 8) | PCATCH
#define SLEEP_MAX 1000
OpenPOWER on IntegriCloud