summaryrefslogtreecommitdiffstats
path: root/sys/scsi
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1996-10-07 03:53:43 +0000
committergibbs <gibbs@FreeBSD.org>1996-10-07 03:53:43 +0000
commit8f9af58443c97c88b0cd51207f4f18f39c95d568 (patch)
treee5d5eb731531ef67f7e165115c0273a8a45a613c /sys/scsi
parente90a9606dfb4e6321b0f94fe9fcb18904bfaa632 (diff)
downloadFreeBSD-src-8f9af58443c97c88b0cd51207f4f18f39c95d568.zip
FreeBSD-src-8f9af58443c97c88b0cd51207f4f18f39c95d568.tar.gz
Try number two. Add missing paren in MSG_IDENTIFY macro.
Diffstat (limited to 'sys/scsi')
-rw-r--r--sys/scsi/scsi_message.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/scsi/scsi_message.h b/sys/scsi/scsi_message.h
index bce70db..7163d49 100644
--- a/sys/scsi/scsi_message.h
+++ b/sys/scsi/scsi_message.h
@@ -26,7 +26,7 @@
/* Identify message */ /* M/M */
#define MSG_IDENTIFYFLAG 0x80
-#define MSG_IDENTIFY(lun, disc) ((disc) ? 0xc0 : MSG_IDENTIFYFLAG) | (lun))
+#define MSG_IDENTIFY(lun, disc) (((disc) ? 0xc0 : MSG_IDENTIFYFLAG) | (lun))
#define MSG_ISIDENTIFY(m) ((m) & MSG_IDENTIFYFLAG)
/* Extended messages (opcode and length) */
OpenPOWER on IntegriCloud