summaryrefslogtreecommitdiffstatshomepage
path: root/qemu-arm/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-arm/main.c')
-rw-r--r--qemu-arm/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/qemu-arm/main.c b/qemu-arm/main.c
index 860014493b..1673c82afd 100644
--- a/qemu-arm/main.c
+++ b/qemu-arm/main.c
@@ -11,7 +11,6 @@
#include "py/stackctrl.h"
#include "py/gc.h"
#include "py/repl.h"
-#include "py/pfenv.h"
void do_str(const char *src) {
mp_lexer_t *lex = mp_lexer_new_from_str_len(MP_QSTR__lt_stdin_gt_, src, strlen(src), 0);
@@ -28,7 +27,7 @@ void do_str(const char *src) {
nlr_pop();
} else {
// uncaught exception
- mp_obj_print_exception(printf_wrapper, NULL, (mp_obj_t)nlr.ret_val);
+ mp_obj_print_exception(&mp_extern_printf_wrapper, (mp_obj_t)nlr.ret_val);
}
}