summaryrefslogtreecommitdiff
path: root/fs/fat
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-12-05 00:24:32 +0100
committerWolfgang Denk <wd@denx.de>2008-12-05 00:24:32 +0100
commit26f6a2b7f3d215a0bd291e8b37be5a359878037c (patch)
tree5e890a3cb4b36ab9c64cb1f103f268fcdf46bbdd /fs/fat
parent762bd90cbb6536d2c8451c13fe23552f3311f860 (diff)
parent3c2c2f427905040c1513d0c51d637689cba48346 (diff)
downloadu-boot-imx-26f6a2b7f3d215a0bd291e8b37be5a359878037c.zip
u-boot-imx-26f6a2b7f3d215a0bd291e8b37be5a359878037c.tar.gz
u-boot-imx-26f6a2b7f3d215a0bd291e8b37be5a359878037c.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-usb
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 */