summaryrefslogtreecommitdiff
path: root/util/vgabios/testbios.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/vgabios/testbios.c')
-rw-r--r--util/vgabios/testbios.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/util/vgabios/testbios.c b/util/vgabios/testbios.c
index 095ea48ec9..ba63ab3031 100644
--- a/util/vgabios/testbios.c
+++ b/util/vgabios/testbios.c
@@ -102,7 +102,10 @@ int printk(int msg_level, const char *fmt, ...)
va_list args;
int i;
- printf ("<%d> ", msg_level);
+ putchar('<');
+ putchar('0' + msg_level);
+ putchar('>');
+ putchar(' ');
va_start(args, fmt);
i = vprintf(fmt, args);
va_end(args);