diff options
author | krw <krw@openbsd.org> | 2019-11-21 22:31:26 +0000 |
---|---|---|
committer | krw <krw@openbsd.org> | 2019-11-21 22:31:26 +0000 |
commit | 36e286aaa1a51639300ad3f7dd37249428efe9f0 (patch) | |
tree | 468233dc40f96c25f72e871315d013a07a0f54d1 /sys/scsi/scsi_base.c | |
parent | A touch of style(9) (diff) | |
download | wireguard-openbsd-36e286aaa1a51639300ad3f7dd37249428efe9f0.tar.xz wireguard-openbsd-36e286aaa1a51639300ad3f7dd37249428efe9f0.zip |
Be consistent and always use SET() to set flags in xs->flags.
Diffstat (limited to 'sys/scsi/scsi_base.c')
-rw-r--r-- | sys/scsi/scsi_base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/scsi_base.c b/sys/scsi/scsi_base.c index 740a1ef4eb3..26d4b649192 100644 --- a/sys/scsi/scsi_base.c +++ b/sys/scsi/scsi_base.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scsi_base.c,v 1.238 2019/11/09 12:15:50 krw Exp $ */ +/* $OpenBSD: scsi_base.c,v 1.239 2019/11/21 22:31:27 krw Exp $ */ /* $NetBSD: scsi_base.c,v 1.43 1997/04/02 02:29:36 mycroft Exp $ */ /* @@ -816,7 +816,7 @@ scsi_init_inquiry(struct scsi_xfer *xs, u_int8_t flags, u_int8_t pagecode, xs->cmdlen = sizeof(*cmd); - xs->flags |= SCSI_DATA_IN; + SET(xs->flags, SCSI_DATA_IN); xs->data = data; xs->datalen = len; } |