summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrange <grange@openbsd.org>2004-01-10 09:10:51 +0000
committergrange <grange@openbsd.org>2004-01-10 09:10:51 +0000
commit1dce91f5e0691d1785ca26c581fc29280e5a8f39 (patch)
treed7d40bdbf8046008ebf38c0e2ab50e66d2c99c6b
parentspelling; jjy2+@pitt.edu (diff)
downloadwireguard-openbsd-1dce91f5e0691d1785ca26c581fc29280e5a8f39.tar.xz
wireguard-openbsd-1dce91f5e0691d1785ca26c581fc29280e5a8f39.zip
Make debug printf a real debug.
ok nate@
-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;