mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 15:05:19 +00:00
Fix log messages in Zephyr example (#2761)
Fixes typo of function in log messages in Zephyr example. Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
This commit is contained in:
parent
56bfae774c
commit
fc03bc073e
|
@ -68,7 +68,7 @@ app_instance_main(wasm_module_inst_t module_inst)
|
|||
if (wasm_runtime_lookup_function(module_inst, "main", NULL)
|
||||
|| wasm_runtime_lookup_function(module_inst, "__main_argc_argv",
|
||||
NULL)) {
|
||||
LOG_VERBOSE("Calling main funciton\n");
|
||||
LOG_VERBOSE("Calling main function\n");
|
||||
wasm_application_execute_main(module_inst, app_argc, app_argv);
|
||||
}
|
||||
else if ((func = wasm_runtime_lookup_function(module_inst, "app_main",
|
||||
|
@ -80,7 +80,7 @@ app_instance_main(wasm_module_inst_t module_inst)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
LOG_VERBOSE("Calling app_main funciton\n");
|
||||
LOG_VERBOSE("Calling app_main function\n");
|
||||
wasm_runtime_call_wasm(exec_env, func, 0, argv);
|
||||
|
||||
if (!wasm_runtime_get_exception(module_inst)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user