devvga: fix mistake
This commit is contained in:
parent
a6d852d0a6
commit
8ea31ae7b2
1 changed files with 2 additions and 1 deletions
|
@ -205,7 +205,8 @@ vgaread(Chan* c, void* a, long n, vlong off)
|
||||||
p = seprint(p, e, "addr p %#p v %#p size %#ux\n",
|
p = seprint(p, e, "addr p %#p v %#p size %#ux\n",
|
||||||
scr->paddr, scr->vaddr, scr->apsize);
|
scr->paddr, scr->vaddr, scr->apsize);
|
||||||
p = seprint(p, e, "softscreen %s\n", scr->softscreen ? "on" : "off");
|
p = seprint(p, e, "softscreen %s\n", scr->softscreen ? "on" : "off");
|
||||||
n = readstr(offset, a, p - s, s);
|
USED(p);
|
||||||
|
n = readstr(offset, a, n, s);
|
||||||
poperror();
|
poperror();
|
||||||
free(s);
|
free(s);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue