* @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 *
/* 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);
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);
}
/**