genconf: typo and comments
[libcmdline.git] / src / genconf / confnode.c
index 4882c84..ed5bd91 100644 (file)
@@ -338,7 +338,7 @@ int confnode_check_deps(const struct confnode *n, int verbose)
        if (n->flags & CONFNODE_F_NO_DEPS)
                return 1;
 
-       /* check that there is no diabled "if" or"menuconfig" above
+       /* check that there is no disabled "if" or "menuconfig" above
         * our node */
        for (pn = n->parent; pn; pn = pn->parent) {
                if (pn->flags & CONFNODE_F_IS_ROOT)
@@ -380,7 +380,7 @@ int confnode_check_deps(const struct confnode *n, int verbose)
 
 /* Get string value of a node, including dep check. Return -1 on
  * error. Return the boolean value of the node (0 or 1) on success: in
- * this case, and if buf is no NULL, buf is filled with the strvalue. */
+ * this case, and if buf is not NULL, buf is filled with the strvalue. */
 int confnode_get_value(const struct confnode *n, char *buf, unsigned buflen)
 {
        int dep, ret, strvalue_len;