diff options
author | ian <ian@FreeBSD.org> | 2013-08-16 20:22:57 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2013-08-16 20:22:57 +0000 |
commit | 112e05002cfc26041a3738883f9580db26e8d45c (patch) | |
tree | 21e2597d3c7a8833dbf05b1d56c1c10dc44993c6 | |
parent | d6c6f8dc298230a55679ecdda4ad33bfd356f8f2 (diff) | |
download | FreeBSD-src-112e05002cfc26041a3738883f9580db26e8d45c.zip FreeBSD-src-112e05002cfc26041a3738883f9580db26e8d45c.tar.gz |
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).
-rw-r--r-- | sys/dev/mmc/mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mmc/mmc.c b/sys/dev/mmc/mmc.c index f101e65..cf2d20f 100644 --- a/sys/dev/mmc/mmc.c +++ b/sys/dev/mmc/mmc.c @@ -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", |