diff options
Diffstat (limited to 'payloads/coreinfo/bootlog_module.c')
-rw-r--r-- | payloads/coreinfo/bootlog_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/coreinfo/bootlog_module.c b/payloads/coreinfo/bootlog_module.c index 74424e2df6..1dc7bbec70 100644 --- a/payloads/coreinfo/bootlog_module.c +++ b/payloads/coreinfo/bootlog_module.c @@ -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') { |