aboutsummaryrefslogtreecommitdiff
path: root/src/core/panic.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-11-05 22:27:51 -0800
committerGarrett D'Amore <garrett@damore.org>2024-11-05 22:27:51 -0800
commite80c97c633679ea0757de7c9565263f42d9110cc (patch)
tree1dbad8b28613339726c5adb5fe40bcf8180e188e /src/core/panic.c
parent85927b8d0d0a751e4c65849c392ef9d0e42a1bd7 (diff)
downloadnng-e80c97c633679ea0757de7c9565263f42d9110cc.tar.gz
nng-e80c97c633679ea0757de7c9565263f42d9110cc.tar.bz2
nng-e80c97c633679ea0757de7c9565263f42d9110cc.zip
remove nni_plat_println - we have nni_plat_printf which is good enough
Diffstat (limited to 'src/core/panic.c')
-rw-r--r--src/core/panic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/panic.c b/src/core/panic.c
index f18c0d9e..c6cb068e 100644
--- a/src/core/panic.c
+++ b/src/core/panic.c
@@ -69,6 +69,5 @@ nni_panic(const char *fmt, ...)
void
nni_println(const char *msg)
{
- // TODO: support redirection of this later.
- nni_plat_println(msg);
+ nni_plat_printf("%s\n", msg);
}