aux/vga: == is not strncmp
This commit is contained in:
parent
7f4b037b0b
commit
a55eed44c6
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ init(Vga* vga, Ctlr* ctlr)
|
|||
|
||||
/* disable vga load (want to do fields in different order) */
|
||||
for(c = vga->link; c; c = c->link)
|
||||
if(c->name == "vga")
|
||||
if(strncmp(c->name, "vga", 3) == 0)
|
||||
c->load = nil;
|
||||
|
||||
ctlr->flag |= Finit;
|
||||
|
|
Loading…
Reference in a new issue