diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-10-20 07:18:09 -0400 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-11-28 21:58:51 +0100 |
commit | c87f6457bb9cb465e9630b00b4c824847a62c6c5 (patch) | |
tree | 9bba76dc7dc881705bc596d9dae67ee4137231ac /fs | |
parent | d7be3056def73c0ab53b3907f9a70a73253a5ae9 (diff) | |
download | u-boot-midas-c87f6457bb9cb465e9630b00b4c824847a62c6c5.tar.gz u-boot-midas-c87f6457bb9cb465e9630b00b4c824847a62c6c5.tar.bz2 u-boot-midas-c87f6457bb9cb465e9630b00b4c824847a62c6c5.zip |
ext2: constify file/dir names
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ext2/ext2fs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext2/ext2fs.c b/fs/ext2/ext2fs.c index a88cf87041..e119e1388f 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; |