fixed zmodem syntax error.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1836 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
wuyangyong 2011-12-12 07:31:51 +00:00
parent f6f81eb0ce
commit 22049c80d5
1 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@
* Change Logs:
* Date Author Notes
* 2011-03-29 itspy
* 2011-12-12 aozima fixed syntax error.
*/
#include <rtthread.h>
@ -299,7 +300,7 @@ static rt_err_t zget_file_info(char *name, struct zfile *zf)
zf->fname = full_path;
p = strlen(name)+name+1;
sscanf((const char *)p, "%ld%lo%o", &zf->bytes_total,&zf->ctime,&zf->mode);
#ifdef defined(RT_USING_DFS) && defined(DFS_USING_WORKDIR)
#if defined(RT_USING_DFS) && defined(DFS_USING_WORKDIR)
dfs_statfs(working_directory,&buf);
if (zf->bytes_total > (buf.f_blocks * buf.f_bfree))
{