Fix debugprint format string

This commit is contained in:
Simon Cozens 2023-02-23 16:41:04 +00:00 committed by Behdad Esfahbod
parent f0200445d0
commit 89c50b0ccb
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@
#undef module_inst
static void debugprint(wasm_exec_env_t exec_env, char *the_string, uint8_t len) {
printf("%*s", len, the_string);
printf("%.*s", len, the_string);
}