Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1462218

[PATCH 4/7] befs: fix typos in linuxvfs.c

From Luis de Bethencourt <luisbg@osg.samsung.com>
Newsgroups linux.kernel
Subject [PATCH 4/7] befs: fix typos in linuxvfs.c
Date 2016-08-14 20:00 +0200
Message-ID <s67Rx-2Hd-81@gated-at.bofh.it> (permalink)
References <s67Rv-2Hd-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
---
 fs/befs/linuxvfs.c | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c
index d307c1e..e99f1a8 100644
--- a/fs/befs/linuxvfs.c
+++ b/fs/befs/linuxvfs.c
@@ -491,13 +491,10 @@ fail:
 }
 
 /*
- * UTF-8 to NLS charset  convert routine
+ * UTF-8 to NLS charset convert routine
  * 
- *
- * Changed 8/10/01 by Will Dyson. Now use uni2char() / char2uni() rather than
- * the nls tables directly
+ * Uses uni2char() / char2uni() rather than the nls tables directly
  */
-
 static int
 befs_utf2nls(struct super_block *sb, const char *in,
 	     int in_len, char **out, int *out_len)
@@ -585,8 +582,9 @@ befs_nls2utf(struct super_block *sb, const char *in,
 	wchar_t uni;
 	int unilen, utflen;
 	char *result;
-	/* There're nls characters that will translate to 3-chars-wide UTF-8
-	 * characters, a additional byte is needed to save the final \0
+	/*
+	 * There are nls characters that will translate to 3-chars-wide UTF-8
+	 * characters, an additional byte is needed to save the final \0
 	 * in special cases */
 	int maxlen = (3 * in_len) + 1;
 
@@ -625,7 +623,7 @@ befs_nls2utf(struct super_block *sb, const char *in,
 	return i;
 
       conv_err:
-	befs_error(sb, "Name using charecter set %s contains a charecter that "
+	befs_error(sb, "Name using character set %s contains a character that "
 		   "cannot be converted to unicode.", nls->charset);
 	befs_debug(sb, "<--- %s", __func__);
 	kfree(result);
-- 
2.5.1

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 0/7] befs:  Luis de Bethencourt <luisbg@osg.samsung.com> - 2016-08-14 20:00 +0200
  [PATCH 1/7] befs: fix style issues in debug.c Luis de Bethencourt <luisbg@osg.samsung.com> - 2016-08-14 20:00 +0200
  [PATCH 3/7] befs: fix style issues in io.c Luis de Bethencourt <luisbg@osg.samsung.com> - 2016-08-14 20:00 +0200
  [PATCH 5/7] befs: fix style issues in linuxvfs.c Luis de Bethencourt <luisbg@osg.samsung.com> - 2016-08-14 20:00 +0200
  [PATCH 4/7] befs: fix typos in linuxvfs.c Luis de Bethencourt <luisbg@osg.samsung.com> - 2016-08-14 20:00 +0200

csiph-web