summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2020-04-13 12:29:51 -0500
committerDamien George <damien.p.george@gmail.com>2020-04-16 16:22:25 +1000
commit6943fb60fea1c9ce40e7c62d1a17f306fea730d2 (patch)
tree43025cdbfbe63d29d3afe582946d3c6c033b473b
parent803e5eadea2e22360d1107b50290b54aa7c3afb7 (diff)
mpy-cross/main: Print uncaught nlr jump to stderr.
This is to be consistent with the same change in the unix port, 4ab8bee82f7d095c10c624de93da12a7aa1af8fd.
-rw-r--r--mpy-cross/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpy-cross/main.c b/mpy-cross/main.c
index d4690470e..a403c0504 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);
}