summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorcsapuntz <csapuntz@openbsd.org>2002-05-10 16:26:28 +0000
committercsapuntz <csapuntz@openbsd.org>2002-05-10 16:26:28 +0000
commit6e645156f74be6345d6e543d3b68735ccd27ac7c (patch)
treed415c0a87ff40d39f1378d71d251a80443ed3c11 /sys/dev
parentZap an unsued define. (diff)
downloadwireguard-openbsd-6e645156f74be6345d6e543d3b68735ccd27ac7c.tar.xz
wireguard-openbsd-6e645156f74be6345d6e543d3b68735ccd27ac7c.zip
Dump the actual command to be sent
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/atapiscsi/atapiscsi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/atapiscsi/atapiscsi.c b/sys/dev/atapiscsi/atapiscsi.c
index 368751e55e7..3e008b43791 100644
--- a/sys/dev/atapiscsi/atapiscsi.c
+++ b/sys/dev/atapiscsi/atapiscsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atapiscsi.c,v 1.59 2002/05/08 21:50:48 csapuntz Exp $ */
+/* $OpenBSD: atapiscsi.c,v 1.60 2002/05/10 16:26:28 csapuntz Exp $ */
/*
* This code is derived from code with the copyright below.
@@ -875,8 +875,8 @@ wdc_atapi_intr_command(chp, xfer, timeout, ret)
bcopy(sc_xfer->cmd, cmd, sc_xfer->cmdlen);
WDC_LOG_ATAPI_CMD(chp, xfer->drive, xfer->c_flags,
- sc_xfer->cmdlen, sc_xfer->cmd);
-
+ cmdlen, cmd);
+
for (i = 0; i < 12; i++)
WDCDEBUG_PRINT(("%02x ", cmd[i]), DEBUG_INTR);
WDCDEBUG_PRINT((": PHASE_CMDOUT\n"), DEBUG_INTR);