提交 9fa8d27c 编写于 作者: O openharmony_ci 提交者: Gitee

!521 修复: 限制调用sync函数打印unsupport sync

Merge pull request !521 from phchang/fixsync_8
...@@ -460,8 +460,10 @@ void sync(void) ...@@ -460,8 +460,10 @@ void sync(void)
{ {
(void)sd_sync_fn(0); (void)sd_sync_fn(0);
(void)sd_sync_fn(1); (void)sd_sync_fn(1);
return;
} }
#endif #endif
PRINT_ERR("Unsupport syscall %s\n", __FUNCTION__);
} }
static char *ls_get_fullpath(const char *path, struct dirent *pdirent) static char *ls_get_fullpath(const char *path, struct dirent *pdirent)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册