]> git.droids-corp.org - libcmdline.git/blobdiff - src/genconf/confnode.c
genconf: typo and comments
[libcmdline.git] / src / genconf / confnode.c
index 4882c84d7e0214a0874a8bff98e3ace23a2f49f9..ed5bd912c4773a9d859c2be9bf7dea315940c4c7 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;