Fix debugprint format string

This commit is contained in:
Simon Cozens authored and Behdad Esfahbod committed 2023-03-31 17:33:44 -06:00
1 parent f0200445d0
commit 89c50b0ccb
1 file changed
+1 -1
+1 -1
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);
}