diff --git a/components/dfs/include/dfs_init.h b/components/dfs/include/dfs_init.h index 061e0e23e..7fcc15e96 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 fc27fe354..c4681746e 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 */