--- a/ucx/printf.c Thu Dec 12 20:01:43 2024 +0100 +++ b/ucx/printf.c Mon Jan 06 22:22:55 2025 +0100 @@ -34,7 +34,7 @@ #ifndef CX_PRINTF_SBO_SIZE #define CX_PRINTF_SBO_SIZE 512 #endif -unsigned const cx_printf_sbo_size = CX_PRINTF_SBO_SIZE; +const unsigned cx_printf_sbo_size = CX_PRINTF_SBO_SIZE; int cx_fprintf( void *stream, @@ -69,10 +69,10 @@ } else { int len = ret + 1; char *newbuf = malloc(len); - if (!newbuf) { + if (!newbuf) { // LCOV_EXCL_START va_end(ap2); return -1; - } + } // LCOV_EXCL_STOP ret = vsnprintf(newbuf, len, fmt, ap2); va_end(ap2);