git: elcr: Initialize variable before calling TUNABLE_INT_FETCH(

看板DFBSD_commit作者時間14年前 (2011/05/17 07:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1DqRGEHK (DFBSD_commit)