From 44477782d8e10109657a4107b050066bd33a39d2 Mon Sep 17 00:00:00 2001 From: Reuben Dunnington Date: Sun, 17 Sep 2023 20:29:59 -0700 Subject: [PATCH] logging: move parens to be in front of function --- src/platform/native_debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform/native_debug.c b/src/platform/native_debug.c index acdae4d..c5a2bad 100644 --- a/src/platform/native_debug.c +++ b/src/platform/native_debug.c @@ -60,7 +60,7 @@ void platform_log_push(oc_log_output* output, if(isatty(fd)) { fprintf(output->f, - "%s%s:%s %s() in %s:%i: ", + "%s%s:%s %s in %s():%i: ", OC_LOG_FORMATS[level], OC_LOG_HEADINGS[level], OC_LOG_FORMAT_STOP, @@ -71,7 +71,7 @@ void platform_log_push(oc_log_output* output, else { fprintf(output->f, - "%s: %s() in %s:%i: ", + "%s: %s in %s():%i: ", OC_LOG_HEADINGS[level], function, file,