!521 修复: 限制调用sync函数打印unsupport sync
Merge pull request !521 from phchang/fixsync_8
This commit is contained in:
commit
9fa8d27c6c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue