summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2006-01-18 08:37:27 +0000
committermjacob <mjacob@FreeBSD.org>2006-01-18 08:37:27 +0000
commit0b55356948188dab6517724e39be7257c3ad6e19 (patch)
tree5ad70ab79e3166a6ca17e720d5cdbc793de449f4 /sys/cam
parent55eb0335a6ca658635fcbceceb48c7173143e1cd (diff)
downloadFreeBSD-src-0b55356948188dab6517724e39be7257c3ad6e19.zip
FreeBSD-src-0b55356948188dab6517724e39be7257c3ad6e19.tar.gz
Fix ioctl to not get swallowed by ioctl code (i.e., make sure the darned
code sticks within 8 bits) MFC after: 1 week
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/scsi/scsi_ses.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/scsi/scsi_ses.h b/sys/cam/scsi/scsi_ses.h
index 9574e7c..9925c1f 100644
--- a/sys/cam/scsi/scsi_ses.h
+++ b/sys/cam/scsi/scsi_ses.h
@@ -29,7 +29,7 @@
*
*/
-#define SESIOC (('s' - 040) << 8)
+#define SESIOC ('s' - 040)
#define SESIOC_GETNOBJ _IO(SESIOC, 1)
#define SESIOC_GETOBJMAP _IO(SESIOC, 2)
#define SESIOC_GETENCSTAT _IO(SESIOC, 3)
OpenPOWER on IntegriCloud