فهرست منبع

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>
Daniel Mangum 2 سال پیش
والد
کامیت
fc03bc073e
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      product-mini/platforms/zephyr/simple/src/main.c

+ 2 - 2
product-mini/platforms/zephyr/simple/src/main.c

@@ -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)) {