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

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


commit 7ef3631a57918f609471a37141ab1e5aa88b932a
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/7ef3631a57918f609471a37141ab1e5aa88b932a


-- 
DragonFly BSD source repository



More information about the Commits mailing list