From 3251fc4e11ed075e796066f88effb8788c3a5ccb Mon Sep 17 00:00:00 2001 From: Neutron Soutmun Date: Tue, 15 May 2012 15:27:24 +0200 Subject: Fix typo of word "unkown" to "unknown". --- lib/data.c | 2 +- lib/parse.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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); } /** -- cgit v1.2.3