fix vprintf in android platform, avoid importing abort in assemblyscript (#210)

This commit is contained in:
Xu Jun
2020-03-23 22:30:28 +08:00
committed by GitHub
parent b21ea2f10b
commit 8ae161b779
2 changed files with 6 additions and 6 deletions

View File

@ -30,6 +30,6 @@ int os_printf(const char *fmt, ...)
int os_vprintf(const char *fmt, va_list ap)
{
return __android_log_print(ANDROID_LOG_INFO, "wasm_runtime::", fmt, ap);
return __android_log_vprint(ANDROID_LOG_INFO, "wasm_runtime::", fmt, ap);
}