[wasm] Make debugprint use debug API
diff --git a/src/hb-wasm-api.hh b/src/hb-wasm-api.hh
index dbca324..63b9d37 100644
--- a/src/hb-wasm-api.hh
+++ b/src/hb-wasm-api.hh
@@ -60,7 +60,7 @@
 debugprint (HB_WASM_EXEC_ENV
 	    char *the_string)
 {
-  printf("%s", the_string);
+  DEBUG_MSG (WASM, exec_env, "%s", the_string);
 }
 }}
 #endif