From 8625a4a82962e7aec8c54562caedfbbb3fa4104c Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Mon, 10 Jul 2023 22:40:24 +0900 Subject: [PATCH] update an example --- examples/runwasi/runwasi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/runwasi/runwasi.c b/examples/runwasi/runwasi.c index db3d9595..6a5eebe9 100644 --- a/examples/runwasi/runwasi.c +++ b/examples/runwasi/runwasi.c @@ -114,7 +114,7 @@ runwasi(const char *filename, unsigned int ndirs, char **dirs, */ struct exec_context ectx; exec_context_init(&ectx, inst); - ret = instance_execute_func(&ectx, funcidx, pt, rt, NULL, NULL); + ret = instance_execute_func(&ectx, funcidx, pt, rt); ret = instance_execute_handle_restart(&ectx, ret); uint32_t wasi_exit_code = 0; if (ret == ETOYWASMTRAP) {