summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/data.c2
-rw-r--r--lib/parse.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/data.c b/lib/data.c
index d74be4d..d6d29c2 100644
--- a/lib/data.c
+++ b/lib/data.c
@@ -364,7 +364,7 @@ ipset_data_set(struct ipset_data *data, enum ipset_opt opt, const void *value)
* @opt: option kind of the requested data
*
* Returns the pointer to the requested kind of data from the data blob
- * if it is set. If the option kind is not set or is an unkown type,
+ * if it is set. If the option kind is not set or is an unknown type,
* NULL is returned.
*/
const void *
diff --git a/lib/parse.c b/lib/parse.c
index bc11ebb..8c67c58 100644
--- a/lib/parse.c
+++ b/lib/parse.c
@@ -1519,7 +1519,7 @@ ipset_parse_typename(struct ipset_session *session,
/* Find the corresponding type */
typename = ipset_typename_resolve(str);
if (typename == NULL)
- return syntax_err("typename '%s' is unkown", str);
+ return syntax_err("typename '%s' is unknown", str);
ipset_session_data_set(session, IPSET_OPT_TYPENAME, typename);
type = ipset_type_get(session, IPSET_CMD_CREATE);
@@ -1591,7 +1591,7 @@ ipset_parse_output(struct ipset_session *session,
else if (STREQ(str, "save"))
return ipset_session_output(session, IPSET_LIST_SAVE);
- return syntax_err("unkown output mode '%s'", str);
+ return syntax_err("unknown output mode '%s'", str);
}
/**