From 9d4072ce5926c7a96bf38e92b8f679f34c593572 Mon Sep 17 00:00:00 2001 From: "dzzxzz@gmail.com" Date: Tue, 10 Jul 2012 09:09:42 +0000 Subject: [PATCH] fixed spelling errors in DFS git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2212 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/dfs/src/dfs_fs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/dfs/src/dfs_fs.c b/components/dfs/src/dfs_fs.c index d73cfa5d1..e8110e408 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); }