提交 9d4072ce 编写于 作者: D dzzxzz@gmail.com

fixed spelling errors in DFS

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2212 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 4b0e2726
/*
* 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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册