summaryrefslogtreecommitdiff
path: root/test/example/relooper-fuzz.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/example/relooper-fuzz.c')
-rw-r--r--test/example/relooper-fuzz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/example/relooper-fuzz.c b/test/example/relooper-fuzz.c
index d813c76a9..11e25d19c 100644
--- a/test/example/relooper-fuzz.c
+++ b/test/example/relooper-fuzz.c
@@ -253,7 +253,7 @@ int main() {
BinaryenType iparams[] = { BinaryenInt32() };
BinaryenFunctionTypeRef vi = BinaryenAddFunctionType(module, "vi", BinaryenNone(), iparams, 1);
- BinaryenAddImport(module, "print", "spectest", "print", vi);
+ BinaryenAddFunctionImport(module, "print", "spectest", "print", vi);
// memory
BinaryenSetMemory(module, 1, 1, "mem", NULL, NULL, NULL, 0);