Browse Source

staging: dgap: fix a typo in dgap_gettok()

The "boar" should be "board".

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Daeseok Youn 11 years ago
parent
commit
e9cc5b2bb1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/dgap/dgap.c

+ 1 - 1
drivers/staging/dgap/dgap.c

@@ -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++) {