diff options
Diffstat (limited to 'kernel/kernel/printk/braille.c')
-rw-r--r-- | kernel/kernel/printk/braille.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/kernel/printk/braille.c b/kernel/kernel/printk/braille.c index 276762f3a..d5760c42f 100644 --- a/kernel/kernel/printk/braille.c +++ b/kernel/kernel/printk/braille.c @@ -9,10 +9,10 @@ char *_braille_console_setup(char **str, char **brl_options) { - if (!memcmp(*str, "brl,", 4)) { + if (!strncmp(*str, "brl,", 4)) { *brl_options = ""; *str += 4; - } else if (!memcmp(str, "brl=", 4)) { + } else if (!strncmp(*str, "brl=", 4)) { *brl_options = *str + 4; *str = strchr(*brl_options, ','); if (!*str) |