logging: move parens to be in front of function

This commit is contained in:
Reuben Dunnington 2023-09-17 20:29:59 -07:00 committed by MartinFouilleul
parent d2e8430c49
commit 44477782d8
1 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ void platform_log_push(oc_log_output* output,
if(isatty(fd)) if(isatty(fd))
{ {
fprintf(output->f, fprintf(output->f,
"%s%s:%s %s() in %s:%i: ", "%s%s:%s %s in %s():%i: ",
OC_LOG_FORMATS[level], OC_LOG_FORMATS[level],
OC_LOG_HEADINGS[level], OC_LOG_HEADINGS[level],
OC_LOG_FORMAT_STOP, OC_LOG_FORMAT_STOP,
@ -71,7 +71,7 @@ void platform_log_push(oc_log_output* output,
else else
{ {
fprintf(output->f, fprintf(output->f,
"%s: %s() in %s:%i: ", "%s: %s in %s():%i: ",
OC_LOG_HEADINGS[level], OC_LOG_HEADINGS[level],
function, function,
file, file,