All of lore.kernel.org
 help / color / mirror / Atom feed
* [ipset] fix typo in libipset
@ 2012-05-14  2:02 Neutron Soutmun
  2012-05-15 13:28 ` Jozsef Kadlecsik
  0 siblings, 1 reply; 2+ messages in thread
From: Neutron Soutmun @ 2012-05-14  2:02 UTC (permalink / raw)
  To: netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 260 bytes --]

Hello,

During the preparation of the ipset Debian package, the "lintian" -
Static analysis tool for Debian packages, has warned me that
there are some typos in the libipset.

Therefore, the attached patch is for those typo fix.

Best regards,
Neutron Soutmun

[-- Attachment #2: 0001-Fix-typo.patch --]
[-- Type: application/octet-stream, Size: 1658 bytes --]

From 0283e5a47b900acd64b8cb7de302e9a46ade5808 Mon Sep 17 00:00:00 2001
From: Neutron Soutmun <neo.neutron@gmail.com>
Date: Mon, 14 May 2012 08:57:33 +0700
Subject: [PATCH] Fix typo

* lib/{data.c, parse.c}:
  - Fix typo of word "unkown" to "unknown".
---
 lib/data.c  |    2 +-
 lib/parse.c |    4 ++--
 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);
 }
 
 /**
-- 
1.7.10


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [ipset] fix typo in libipset
  2012-05-14  2:02 [ipset] fix typo in libipset Neutron Soutmun
@ 2012-05-15 13:28 ` Jozsef Kadlecsik
  0 siblings, 0 replies; 2+ messages in thread
From: Jozsef Kadlecsik @ 2012-05-15 13:28 UTC (permalink / raw)
  To: Neutron Soutmun; +Cc: netfilter-devel

On Mon, 14 May 2012, Neutron Soutmun wrote:

> During the preparation of the ipset Debian package, the "lintian" -
> Static analysis tool for Debian packages, has warned me that
> there are some typos in the libipset.
> 
> Therefore, the attached patch is for those typo fix.

Thanks, patch applied in git.

Best regards,
Jozsef
-
E-mail  : kadlec@blackhole.kfki.hu, kadlecsik.jozsef@wigner.mta.hu
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : Wigner Research Centre for Physics, Hungarian Academy of Sciences
          H-1525 Budapest 114, POB. 49, Hungary

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-15 13:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-14  2:02 [ipset] fix typo in libipset Neutron Soutmun
2012-05-15 13:28 ` Jozsef Kadlecsik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.