genconf: typo and comments
[libcmdline.git] / src / genconf / confnode_choice.c
index 5a34e7d..892e634 100644 (file)
@@ -106,7 +106,7 @@ static int confnode_choice_close_dir(struct confnode *parent,
        if (tok == NULL)
                return -1; /* should not happen */
 
-       /* syntax is: endmenu */
+       /* syntax is: endchoice */
        if (!strcmp(tok->str, "endchoice") && line->n_token == 1) {
                //printf("endchoice\n");
                return 0;