Fix debugprint format string
This commit is contained in:
parent
f0200445d0
commit
89c50b0ccb
|
@ -50,7 +50,7 @@
|
||||||
#undef module_inst
|
#undef module_inst
|
||||||
|
|
||||||
static void debugprint(wasm_exec_env_t exec_env, char *the_string, uint8_t len) {
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue