From 6943fb60fea1c9ce40e7c62d1a17f306fea730d2 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Mon, 13 Apr 2020 12:29:51 -0500 Subject: [PATCH] mpy-cross/main: Print uncaught nlr jump to stderr. This is to be consistent with the same change in the unix port, 4ab8bee82f7d095c10c624de93da12a7aa1af8fd. --- mpy-cross/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpy-cross/main.c b/mpy-cross/main.c index d4690470e7..a403c0504d 100644 --- a/mpy-cross/main.c +++ b/mpy-cross/main.c @@ -345,6 +345,6 @@ uint mp_import_stat(const char *path) { } void nlr_jump_fail(void *val) { - printf("FATAL: uncaught NLR %p\n", val); + fprintf(stderr, "FATAL: uncaught NLR %p\n", val); exit(1); }