diff options
Diffstat (limited to 'arch/um/drivers/mconsole_kern.c')
-rw-r--r-- | arch/um/drivers/mconsole_kern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/mconsole_kern.c b/arch/um/drivers/mconsole_kern.c index b414522f7686..79610b5ce67e 100644 --- a/arch/um/drivers/mconsole_kern.c +++ b/arch/um/drivers/mconsole_kern.c | |||
@@ -497,7 +497,7 @@ static void mconsole_get_config(int (*get_config)(char *, char *, int, | |||
497 | } | 497 | } |
498 | 498 | ||
499 | error = NULL; | 499 | error = NULL; |
500 | size = sizeof(default_buf)/sizeof(default_buf[0]); | 500 | size = ARRAY_SIZE(default_buf); |
501 | buf = default_buf; | 501 | buf = default_buf; |
502 | 502 | ||
503 | while(1){ | 503 | while(1){ |