summaryrefslogtreecommitdiffhomepage
path: root/examples/exception-handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/exception-handler.c')
-rw-r--r--examples/exception-handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/exception-handler.c b/examples/exception-handler.c
index e2b1058..1e722ec 100644
--- a/examples/exception-handler.c
+++ b/examples/exception-handler.c
@@ -79,7 +79,7 @@ int main(int argc, char **argv)
uc_vm_init(&vm, &config);
/* load standard library into global VM scope */
- uc_load_stdlib(uc_vm_scope_get(&vm));
+ uc_stdlib_load(uc_vm_scope_get(&vm));
/* register custom exception handler */
uc_vm_exception_handler_set(&vm, log_exception);