summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--components/dfs/include/dfs_init.h4
-rw-r--r--components/dfs/src/dfs_fs.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/components/dfs/include/dfs_init.h b/components/dfs/include/dfs_init.h
index 061e0e23e8..7fcc15e962 100644
--- a/components/dfs/include/dfs_init.h
+++ b/components/dfs/include/dfs_init.h
@@ -19,10 +19,10 @@
extern "C" {
#endif
-/* initilization of dfs */
+/* Initialization of dfs */
void dfs_init(void);
-/* initilization of dfs with filesystem server */
+/* Initialization of dfs with filesystem server */
void dfs_server_init(void);
#ifdef __cplusplus
diff --git a/components/dfs/src/dfs_fs.c b/components/dfs/src/dfs_fs.c
index fc27fe354a..c4681746e5 100644
--- a/components/dfs/src/dfs_fs.c
+++ b/components/dfs/src/dfs_fs.c
@@ -277,7 +277,7 @@ int dfs_mount(const char *device_name, const char *path,
}
}
- /* find out en empty filesystem table entry */
+ /* find out an empty filesystem table entry */
for (index = 0; index < DFS_FILESYSTEMS_MAX && filesystem_table[index].ops != RT_NULL;
index++) ;
if (index == DFS_FILESYSTEMS_MAX) /* can't find en empty filesystem table entry */