提交 576475f1 编写于 作者: mysterywolf's avatar mysterywolf

change format

上级 3e46db93
......@@ -269,16 +269,14 @@ long _sys_flen(FILEHANDLE fh)
{
#ifdef RT_USING_DFS
struct stat stat;
#endif
if (fh < STDERR)
return -1;
#ifndef RT_USING_DFS
return -1;
#else
fstat(fh, &stat);
return stat.st_size;
#else
return -1;
#endif
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册