diff --git a/fs/vfs/operation/fs_other.c b/fs/vfs/operation/fs_other.c index bb5b0e55c89d8493521b6b3c961bcc6b941421bc..9d3a6e8bd22b64a35a0e213534e7f4e3c11dc80e 100644 --- a/fs/vfs/operation/fs_other.c +++ b/fs/vfs/operation/fs_other.c @@ -460,8 +460,10 @@ void sync(void) { (void)sd_sync_fn(0); (void)sd_sync_fn(1); + return; } #endif + PRINT_ERR("Unsupport syscall %s\n", __FUNCTION__); } static char *ls_get_fullpath(const char *path, struct dirent *pdirent)