Dereference a pointer (print int instead of pointer value)

This commit is contained in:
Nick Hibma 2000-04-03 22:28:13 +00:00
parent 673ef6fe3a
commit 16fd39fc59

View File

@ -2527,7 +2527,7 @@ umass_scsi_transform(struct umass_softc *sc, unsigned char *cmd, int cmdlen,
if (sc->quirks & NO_TEST_UNIT_READY) {
KASSERT(*rcmdlen >= sizeof(struct scsi_start_stop_unit),
("rcmdlen = %d < %d, buffer too small",
rcmdlen, sizeof(struct scsi_start_stop_unit)));
*rcmdlen, sizeof(struct scsi_start_stop_unit)));
DPRINTF(UDMASS_SCSI, ("%s: Converted TEST_UNIT_READY "
"to START_UNIT\n", USBDEVNAME(sc->sc_dev)));
memset(*rcmd, 0, *rcmdlen);