lkml.org 
[lkml]   [2015]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] jffs2: fix UTF-8 character in pr_info
Date
Boot log contained string:
jffs2: version 2.2. \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.

non-ASCII characters are printed in HEX. 0xC2A9 is copyright sign in UTF-8.
This patch replace it with '(c)' to make boot log readable.

Signed-off-by: Andrey Skvortsov <andrej.skvortzov@gmail.com>
---
fs/jffs2/super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/jffs2/super.c b/fs/jffs2/super.c
index 3d76f28..763a3dc 100644
--- a/fs/jffs2/super.c
+++ b/fs/jffs2/super.c
@@ -382,7 +382,7 @@ static int __init init_jffs2_fs(void)
#ifdef CONFIG_JFFS2_SUMMARY
" (SUMMARY) "
#endif
- " © 2001-2006 Red Hat, Inc.\n");
+ " (c) 2001-2006 Red Hat, Inc.\n");

jffs2_inode_cachep = kmem_cache_create("jffs2_i",
sizeof(struct jffs2_inode_info),
--
2.1.4


\
 
 \ /
  Last update: 2015-04-28 23:21    [W:0.031 / U:1.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site