fbset: fix buglet where we were using wrong pointer

readahead: stop using stdio.h
*: style fixes
This commit is contained in:
Denis Vlasenko
2007-11-06 03:05:54 +00:00
parent 1bec1b980e
commit 6bef3d1d22
14 changed files with 94 additions and 57 deletions

View File

@@ -1111,7 +1111,8 @@ static void identify(uint16_t *val)
/* reset result */
jj = val[HWRST_RSLT];
if ((jj & VALID) == VALID_VAL) {
if (!(oo = (jj & RST0)))
oo = (jj & RST0);
if (!oo)
jj >>= 8;
if ((jj & DEV_DET) == JUMPER_VAL)
strng = " determined by the jumper";