Fixed minor printk bug.
This commit is contained in:
parent
9994b80c0d
commit
6a78658eae
@ -202,7 +202,7 @@ int printk(struct vgastate *term, const char *fmt, ...)
|
|||||||
break;
|
break;
|
||||||
// Unknown character; just print the character
|
// Unknown character; just print the character
|
||||||
default:
|
default:
|
||||||
term_putChar(term, fmt[i+end]);
|
term_putChar(term, fmt[i]);
|
||||||
numPrinted++;
|
numPrinted++;
|
||||||
end = 1;
|
end = 1;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user