summaryrefslogtreecommitdiff
path: root/sys/dev/usb/umass_scsi.c
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2004-01-10 09:10:52 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2004-01-10 09:10:52 +0000
commit178ec66303331225325577f5b6cbd0da42665574 (patch)
tree37bce4ea1251acfb847619ef84a73a1ae30a1009 /sys/dev/usb/umass_scsi.c
parentb9939f771eda69e20d4db959cd4a5a463a160c80 (diff)
Make debug printf a real debug.
ok nate@
Diffstat (limited to 'sys/dev/usb/umass_scsi.c')
-rw-r--r--sys/dev/usb/umass_scsi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/umass_scsi.c b/sys/dev/usb/umass_scsi.c
index c3b02652442..3fed7806119 100644
--- a/sys/dev/usb/umass_scsi.c
+++ b/sys/dev/usb/umass_scsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umass_scsi.c,v 1.4 2003/05/17 18:25:51 krw Exp $ */
+/* $OpenBSD: umass_scsi.c,v 1.5 2004/01/10 09:10:51 grange Exp $ */
/* $NetBSD: umass_scsipi.c,v 1.9 2003/02/16 23:14:08 augustss Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -374,8 +374,8 @@ umass_scsi_cb(struct umass_softc *sc, void *priv, int residue, int status)
}
/* FALLTHROUGH */
case STATUS_CMD_FAILED:
- printf("umass_scsi_cb: status cmd failed for scsi op 0x%02x\n",
- xs->cmd->opcode);
+ DPRINTF(UDMASS_CMD, ("umass_scsi_cb: status cmd failed for "
+ "scsi op 0x%02x\n", xs->cmd->opcode));
/* fetch sense data */
memset(&scbus->sc_sense_cmd, 0, sizeof(scbus->sc_sense_cmd));
scbus->sc_sense_cmd.opcode = REQUEST_SENSE;