summaryrefslogtreecommitdiff
path: root/fs/ext2
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-10-20 07:18:09 -0400
committerWolfgang Denk <wd@denx.de>2010-12-09 10:24:09 +0100
commit3f7cfeea2dc200cc54081df91decb2ca14afceca (patch)
treeb8d7bdf6cd027e56e69dd7a2d1e44e10d9f46fae /fs/ext2
parent32ff4b7fe410bdea29ca38ab15f57e731fc920d1 (diff)
downloadu-boot-imx-3f7cfeea2dc200cc54081df91decb2ca14afceca.zip
u-boot-imx-3f7cfeea2dc200cc54081df91decb2ca14afceca.tar.gz
u-boot-imx-3f7cfeea2dc200cc54081df91decb2ca14afceca.tar.bz2
ext2: constify file/dir names
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'fs/ext2')
-rw-r--r--fs/ext2/ext2fs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext2/ext2fs.c b/fs/ext2/ext2fs.c
index a88cf87..e119e13 100644
--- a/fs/ext2/ext2fs.c
+++ b/fs/ext2/ext2fs.c
@@ -749,7 +749,7 @@ int ext2fs_find_file
}
-int ext2fs_ls (char *dirname) {
+int ext2fs_ls (const char *dirname) {
ext2fs_node_t dirnode;
int status;
@@ -769,7 +769,7 @@ int ext2fs_ls (char *dirname) {
}
-int ext2fs_open (char *filename) {
+int ext2fs_open (const char *filename) {
ext2fs_node_t fdiro = NULL;
int status;
int len;