summaryrefslogtreecommitdiff
path: root/fs/fat
diff options
context:
space:
mode:
authorRemy Bohmer <linux@bohmer.net>2008-11-27 21:30:27 (GMT)
committerRemy Böhmer <linux@bohmer.net>2008-12-04 19:51:44 (GMT)
commit3c2c2f427905040c1513d0c51d637689cba48346 (patch)
treefc563a3292e6c13ecdc794c1c3f2c8a645658843 /fs/fat
parentbebfc6ef3ec994c8e18783269b1d8d41f8e38afd (diff)
downloadu-boot-fsl-qoriq-3c2c2f427905040c1513d0c51d637689cba48346.tar.xz
Remove non-ascii characters from fat code
This code contains some non-ascii characters in comment lines and code. Most editors do not display those characters properly and editing those files results always in diffs at these places which are usually not required to be changed at all. This is error prone. So, remove those weird characters and replace them by normal C-style equivalents for which the proper defines were already in the header. Signed-off-by: Remy Bohmer <linux@bohmer.net>
Diffstat (limited to 'fs/fat')
-rw-r--r--fs/fat/fat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fat/fat.c b/fs/fat/fat.c
index 2f0bd8c..06eabc3 100644
--- a/fs/fat/fat.c
+++ b/fs/fat/fat.c
@@ -184,7 +184,7 @@ static void get_name (dir_entry *dirent, char *s_name)
if (*s_name == DELETED_FLAG)
*s_name = '\0';
else if (*s_name == aRING)
- *s_name = 'å';
+ *s_name = DELETED_FLAG;
downcase (s_name);
}
@@ -489,7 +489,7 @@ get_vfatname(fsdata *mydata, int curclust, __u8 *cluster,
l_name[idx] = '\0';
if (*l_name == DELETED_FLAG) *l_name = '\0';
- else if (*l_name == aRING) *l_name = 'å';
+ else if (*l_name == aRING) *l_name = DELETED_FLAG;
downcase(l_name);
/* Return the real directory entry */