Print the card relative address in hex, because that's what all the

other debugging output does (when it appears in command arguments,
for example).
This commit is contained in:
Ian Lepore 2013-08-16 20:22:57 +00:00
parent 54c665855d
commit 65f63c73cb

View File

@ -1209,7 +1209,7 @@ mmc_set_blocklen(struct mmc_softc *sc, uint32_t len)
static void
mmc_log_card(device_t dev, struct mmc_ivars *ivar, int newcard)
{
device_printf(dev, "Card at relative address %d%s:\n",
device_printf(dev, "Card at relative address 0x%04x%s:\n",
ivar->rca, newcard ? " added" : "");
device_printf(dev, " card: %s\n", ivar->card_id_string);
device_printf(dev, " bus: %ubit, %uMHz%s\n",