dc3514f82c
Currently slot_printf() uses two printf() calls to print the device-slot name, and actual message. When other printf()s are ongoing in parallel this can lead to interleaved message on the console, which is especially unhelpful for debugging or error messages. Take a hit on the stack and vsnprintf() the message to the buffer. This way it can be printed along with the device-slot name in one go avoiding console gibberish. Reviewed by: marius MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D19747 |
||
---|---|---|
.. | ||
fsl_sdhci.c | ||
sdhci_acpi.c | ||
sdhci_fdt_gpio.c | ||
sdhci_fdt_gpio.h | ||
sdhci_fdt.c | ||
sdhci_if.m | ||
sdhci_pci.c | ||
sdhci_xenon.c | ||
sdhci_xenon.h | ||
sdhci.c | ||
sdhci.h |