summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-07-12 05:43:06 -0500
committerJoel Sherrill <joel@rtems.org>2016-07-12 05:43:06 -0500
commit665f03acb34b9a4159bdb50f9dab73087d38483c (patch)
tree1b392c29e707574d0c12cbc0f1fb7154a1730d15
parent814bd6e3baf1fe016268a3bf1c56b6ddad8e1eff (diff)
downloadrtems-665f03acb34b9a4159bdb50f9dab73087d38483c.tar.bz2
DOSFS - LENGHT -> LENGTH
closes #2756,
-rw-r--r--cpukit/libfs/src/dosfs/msdos.h2
-rw-r--r--cpukit/libfs/src/dosfs/msdos_create.c2
-rw-r--r--cpukit/libfs/src/dosfs/msdos_initsupp.c2
-rw-r--r--cpukit/libfs/src/dosfs/msdos_misc.c6
4 files changed, 6 insertions, 6 deletions
diff --git a/cpukit/libfs/src/dosfs/msdos.h b/cpukit/libfs/src/dosfs/msdos.h
index d1ce5ad039..d5c48d78c4 100644
--- a/cpukit/libfs/src/dosfs/msdos.h
+++ b/cpukit/libfs/src/dosfs/msdos.h
@@ -236,7 +236,7 @@ typedef enum msdos_token_types_e
#define DOTDOT_NODE_P(p) ((char *)((p) + MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE))
/* Size limits for files and directories */
-#define MSDOS_MAX_DIR_LENGHT 0x200000 /* 2,097,152 bytes */
+#define MSDOS_MAX_DIR_LENGTH 0x200000 /* 2,097,152 bytes */
#define MSDOS_MAX_FILE_SIZE 0xFFFFFFFF /* 4 Gb */
/*
diff --git a/cpukit/libfs/src/dosfs/msdos_create.c b/cpukit/libfs/src/dosfs/msdos_create.c
index 33bef0876f..eba6417737 100644
--- a/cpukit/libfs/src/dosfs/msdos_create.c
+++ b/cpukit/libfs/src/dosfs/msdos_create.c
@@ -190,7 +190,7 @@ msdos_creat_node(const rtems_filesystem_location_info_t *parent_loc,
*/
fat_fd->fat_file_size = 0;
fat_fd->fat_file_type = FAT_DIRECTORY;
- fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;
+ fat_fd->size_limit = MSDOS_MAX_DIR_LENGTH;
fat_file_set_ctime_mtime(fat_fd, now);
/*
diff --git a/cpukit/libfs/src/dosfs/msdos_initsupp.c b/cpukit/libfs/src/dosfs/msdos_initsupp.c
index ccaf51936e..b43e61dde0 100644
--- a/cpukit/libfs/src/dosfs/msdos_initsupp.c
+++ b/cpukit/libfs/src/dosfs/msdos_initsupp.c
@@ -97,7 +97,7 @@ msdos_initialize_support(
/* again: unfortunately "fat-file" is just almost fat file :( */
fat_fd->fat_file_type = FAT_DIRECTORY;
- fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;
+ fat_fd->size_limit = MSDOS_MAX_DIR_LENGTH;
fat_fd->cln = fs_info->fat.vol.rdir_cl;
fat_fd->map.file_cln = 0;
diff --git a/cpukit/libfs/src/dosfs/msdos_misc.c b/cpukit/libfs/src/dosfs/msdos_misc.c
index 76dff439a9..125ff9c674 100644
--- a/cpukit/libfs/src/dosfs/msdos_misc.c
+++ b/cpukit/libfs/src/dosfs/msdos_misc.c
@@ -388,7 +388,7 @@ msdos_find_name(
if ((*MSDOS_DIR_ATTR(node_entry)) & MSDOS_ATTR_DIRECTORY)
{
fat_fd->fat_file_type = FAT_DIRECTORY;
- fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;
+ fat_fd->size_limit = MSDOS_MAX_DIR_LENGTH;
rc = fat_file_size(&fs_info->fat, fat_fd);
if (rc != RC_OK)
@@ -581,7 +581,7 @@ msdos_get_dotdot_dir_info_cluster_num_and_offset(
fat_fd->cln = cln;
fat_fd->fat_file_type = FAT_DIRECTORY;
- fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;
+ fat_fd->size_limit = MSDOS_MAX_DIR_LENGTH;
fat_fd->map.file_cln = 0;
fat_fd->map.disk_cln = fat_fd->cln;
@@ -650,7 +650,7 @@ msdos_get_dotdot_dir_info_cluster_num_and_offset(
fat_fd->cln = MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node);
fat_fd->fat_file_type = FAT_DIRECTORY;
- fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;
+ fat_fd->size_limit = MSDOS_MAX_DIR_LENGTH;
fat_fd->map.file_cln = 0;
fat_fd->map.disk_cln = fat_fd->cln;