提交 128a2832 编写于 作者: D dzzxzz@gmail.com

fixed a spelling error and use RT_NULL instead of NULL in DFS

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2215 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 291c4336
...@@ -313,7 +313,7 @@ int dfs_file_flush(struct dfs_fd *fd) ...@@ -313,7 +313,7 @@ int dfs_file_flush(struct dfs_fd *fd)
* this function will seek the offset for specified file descriptor. * this function will seek the offset for specified file descriptor.
* *
* @param fd the file descriptor. * @param fd the file descriptor.
* @param offset the offset to be seeked. * @param offset the offset to be sought.
* *
* @return the current position after seek. * @return the current position after seek.
*/ */
......
...@@ -436,7 +436,7 @@ int dfs_statfs(const char *path, struct statfs *buffer) ...@@ -436,7 +436,7 @@ int dfs_statfs(const char *path, struct statfs *buffer)
struct dfs_filesystem *fs; struct dfs_filesystem *fs;
fs = dfs_filesystem_lookup(path); fs = dfs_filesystem_lookup(path);
if (fs != NULL) if (fs != RT_NULL)
{ {
if (fs->ops->statfs != RT_NULL) if (fs->ops->statfs != RT_NULL)
return fs->ops->statfs(fs, buffer); return fs->ops->statfs(fs, buffer);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册