DragonFly BSD
DragonFly commits List (threaded) for 2011-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: elcr: Initialize variable before calling TUNABLE_INT_FETCH()


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 13 Apr 2011 06:35:05 -0700 (PDT)

commit 0c04660046223681ae1e6dfb7cab4f73e84c66a6
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Wed Apr 13 21:28:14 2011 +0800

    elcr: Initialize variable before calling TUNABLE_INT_FETCH()
    
    If the tunable is not defined, the variable will not be initailized at all,
    which causes random ELCR probing failure.

Summary of changes:
 sys/platform/pc32/icu/elcr.c |    2 +-
 sys/platform/pc64/icu/elcr.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0c04660046223681ae1e6dfb7cab4f73e84c66a6


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]