diff options
| author | [email protected] <[email protected]> | 2012-07-10 09:09:42 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-07-10 09:09:42 +0000 |
| commit | 9d4072ce5926c7a96bf38e92b8f679f34c593572 (patch) | |
| tree | 3caf7509812d48df87c3f0d7590b665189f40c5c /components | |
| parent | 4b0e27264477d1db0766bec03ae0e377c3ae2428 (diff) | |
fixed spelling errors in DFS
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2212 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components')
| -rw-r--r-- | components/dfs/src/dfs_fs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/dfs/src/dfs_fs.c b/components/dfs/src/dfs_fs.c index d73cfa5d10..e8110e408f 100644 --- a/components/dfs/src/dfs_fs.c +++ b/components/dfs/src/dfs_fs.c @@ -1,7 +1,7 @@ /* * File : dfs_fs.c * This file is part of Device File System in RT-Thread RTOS - * COPYRIGHT (C) 2004-2011, RT-Thread Development Team + * COPYRIGHT (C) 2004-2012, RT-Thread Development Team * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at @@ -27,7 +27,7 @@ * * @param ops the file system instance to be registered. * - * @return 0 on sucessful, -1 on failed. + * @return 0 on successful, -1 on failed. */ int dfs_register(const struct dfs_filesystem_operation *ops) { @@ -339,7 +339,7 @@ err1: } /** - * this function will umount a file system on specified path. + * this function will unmount a file system on specified path. * * @param specialfile the specified path which mounted a file system. * @@ -438,7 +438,7 @@ int dfs_statfs(const char *path, struct statfs *buffer) fs = dfs_filesystem_lookup(path); if (fs != NULL) { - if (fs->ops->statfs!= RT_NULL) + if (fs->ops->statfs != RT_NULL) return fs->ops->statfs(fs, buffer); } |
