git: twa(4): Fix a crash with TWA_DEBUG >= 3.

Sascha Wildner swildner at crater.dragonflybsd.org
Mon Dec 15 14:35:30 PST 2014


commit 93fd7312136ac900704e546368a55691ee5ebac8
Author: Sascha Wildner <saw at online.de>
Date:   Mon Dec 15 23:34:16 2014 +0100

    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.

Summary of changes:
 sys/dev/raid/twa/tw_osl_freebsd.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/93fd7312136ac900704e546368a55691ee5ebac8


-- 
DragonFly BSD source repository


More information about the Commits mailing list