staging: dgap: fix a typo in dgap_gettok()
authorDaeseok Youn <daeseok.youn@gmail.com>
Tue, 15 Jul 2014 09:49:09 +0000 (18:49 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jul 2014 15:26:29 +0000 (08:26 -0700)
The "boar" should be "board".

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c

index 470ae7b..17514c8 100644 (file)
@@ -7105,7 +7105,7 @@ static int dgap_gettok(char **in, struct cnode *p)
        char *w;
        struct toklist *t;
 
-       if (strstr(dgap_cword, "boar")) {
+       if (strstr(dgap_cword, "board")) {
                w = dgap_getword(in);
                snprintf(dgap_cword, MAXCWORD, "%s", w);
                for (t = dgap_tlist; t->token != 0; t++) {