Stub out FILE*, stdout/stdin/stderr and implement fprintf on these
[coreboot.git] / payloads / coreinfo / bootlog_module.c
index 74424e2df68d32c19994020414add1f24994fbab..1dc7bbec709cf3019e51436e8e8240ea9abb76bc 100644 (file)
@@ -63,7 +63,7 @@ static int bootlog_module_redraw(WINDOW *win)
 
        /* FIXME: Handle lines longer than 80 characters. */
        while (y <= 18) {
-               mvwaddnstr(win, y + 2, x, tmp, 1);
+               mvwaddch(win, y + 2, x, isprint(*tmp) ? *tmp : ' ');
                x++;
                tmp++;
                if (*tmp == '\n') {