summaryrefslogtreecommitdiff
path: root/firmware/screendump.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/screendump.c')
-rw-r--r--firmware/screendump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/screendump.c b/firmware/screendump.c
index 1acaaafba6..7d09b0cd5e 100644
--- a/firmware/screendump.c
+++ b/firmware/screendump.c
@@ -102,7 +102,7 @@ static void (*screen_dump_hook)(int fh) = NULL;
102void screen_dump(void) 102void screen_dump(void)
103{ 103{
104 int fd, y; 104 int fd, y;
105 char filename[32]; 105 char filename[MAX_PATH];
106 106
107 fb_data *src; 107 fb_data *src;
108#if LCD_DEPTH == 1 108#if LCD_DEPTH == 1
@@ -306,7 +306,7 @@ static const unsigned char rbmpheader[] =
306void remote_screen_dump(void) 306void remote_screen_dump(void)
307{ 307{
308 int fd, y; 308 int fd, y;
309 char filename[32]; 309 char filename[MAX_PATH];
310 310
311 fb_remote_data *src; 311 fb_remote_data *src;
312#if LCD_REMOTE_DEPTH == 1 312#if LCD_REMOTE_DEPTH == 1