summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/sis/sis_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbdev/sis/sis_main.c')
-rw-r--r--drivers/video/fbdev/sis/sis_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/sis/sis_main.c b/drivers/video/fbdev/sis/sis_main.c
index 6d524a65af18..ad39571f9134 100644
--- a/drivers/video/fbdev/sis/sis_main.c
+++ b/drivers/video/fbdev/sis/sis_main.c
@@ -184,7 +184,7 @@ static void sisfb_search_mode(char *name, bool quiet)
{
unsigned int j = 0, xres = 0, yres = 0, depth = 0, rate = 0;
int i = 0;
- char strbuf[16], strbuf1[20];
+ char strbuf[24], strbuf1[20];
char *nameptr = name;
/* We don't know the hardware specs yet and there is no ivideo */