summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2020-09-03 12:41:28 +0000
committerkrw <krw@openbsd.org>2020-09-03 12:41:28 +0000
commitbb4b71eb63de177b74e4e4331bd9504c28c95090 (patch)
tree5dcfdfcf021d70b65f23b594dd73a28ebce85e3b /sys/dev/softraid.c
parentSwitch use of '\0' to NULL (diff)
downloadwireguard-openbsd-bb4b71eb63de177b74e4e4331bd9504c28c95090.tar.xz
wireguard-openbsd-bb4b71eb63de177b74e4e4331bd9504c28c95090.zip
Replace '.response_format = 2' with '.response_format = SID_SCSI2_RESPONSE'.
Diffstat (limited to 'sys/dev/softraid.c')
-rw-r--r--sys/dev/softraid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c
index f734d51326e..0fc0003a768 100644
--- a/sys/dev/softraid.c
+++ b/sys/dev/softraid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid.c,v 1.412 2020/09/02 21:16:29 krw Exp $ */
+/* $OpenBSD: softraid.c,v 1.413 2020/09/03 12:41:28 krw Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org>
@@ -4026,7 +4026,7 @@ sr_raid_inquiry(struct sr_workunit *wu)
inq.device = T_DIRECT;
inq.dev_qual2 = 0;
inq.version = SCSI_REV_2;
- inq.response_format = 2;
+ inq.response_format = SID_SCSI2_RESPONSE;
inq.additional_length = 32;
inq.flags |= SID_CmdQue;
strlcpy(inq.vendor, sd->sd_meta->ssdi.ssd_vendor,