twa(4): Fix a crash with TWA_DEBUG >= 3.
authorSascha Wildner <saw@online.de>
Mon, 15 Dec 2014 22:34:16 +0000 (23:34 +0100)
committerSascha Wildner <saw@online.de>
Mon, 15 Dec 2014 22:34:32 +0000 (23:34 +0100)
commit93fd7312136ac900704e546368a55691ee5ebac8
tree206629236162330568764f1a98da51d4e1f66882
parent08223d8ccc101b6ac6cfaf19be98117596423a8b
twa(4): Fix a crash with TWA_DEBUG >= 3.

tw_osli_dbg_dprintf() uses device_printf(sc->bus_dev, ...) so we can't
use it before sc->bus_dev is actually set.
sys/dev/raid/twa/tw_osl_freebsd.c