summaryrefslogtreecommitdiffstats
path: root/bootloader/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader/common.c')
-rw-r--r--bootloader/common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bootloader/common.c b/bootloader/common.c
index 362c3b4d11..1099b9f453 100644
--- a/bootloader/common.c
+++ b/bootloader/common.c
@@ -68,7 +68,7 @@ void reset_screen(void)
#endif
}
-void printf(const char *format, ...)
+int printf(const char *format, ...)
{
int len;
unsigned char *ptr;
@@ -91,6 +91,7 @@ void printf(const char *format, ...)
if(remote_line >= LCD_REMOTE_HEIGHT/SYSFONT_HEIGHT)
remote_line = 0;
#endif
+ return len;
}
char *strerror(int error)