summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2009-03-10 15:31:05 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2009-03-10 15:31:05 +0000
commit8904bbc45c13f4c7e6c0e8d2187a2bcff1a4991a (patch)
treeeed45cad955c2014c7ad83db57eda9f000bc0519 /sys/dev
parent74bf55af09e87235f63d504f70036233bbc2a632 (diff)
Print scsi xfer flags in debug output.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/ips.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/ips.c b/sys/dev/pci/ips.c
index b7450ea12c4..a2807660fbf 100644
--- a/sys/dev/pci/ips.c
+++ b/sys/dev/pci/ips.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ips.c,v 1.56 2009/03/10 14:18:28 grange Exp $ */
+/* $OpenBSD: ips.c,v 1.57 2009/03/10 15:31:04 grange Exp $ */
/*
* Copyright (c) 2006, 2007, 2009 Alexander Yurchenko <grange@openbsd.org>
@@ -728,8 +728,8 @@ ips_scsi_cmd(struct scsi_xfer *xs)
int code, error, flags, s;
DPRINTF(IPS_D_XFER, ("%s: ips_scsi_cmd: xs %p, target %d, "
- "opcode 0x%02x\n", sc->sc_dev.dv_xname, xs, target,
- xs->cmd->opcode));
+ "opcode 0x%02x, flags 0x%x\n", sc->sc_dev.dv_xname, xs, target,
+ xs->cmd->opcode, xs->flags));
if (target >= sc->sc_nunits || link->lun != 0) {
DPRINTF(IPS_D_INFO, ("%s: invalid scsi command, "