Cleanup: make format

This commit is contained in:
Weizhen Huang
2024-07-08 16:22:51 +02:00
parent 4a4270d73c
commit 204407ca11
2 changed files with 4 additions and 2 deletions

View File

@@ -215,7 +215,8 @@ static bool malloc_debug_memset = false;
#ifdef __GNUC__
__attribute__((format(printf, 1, 0)))
#endif
static void print_error(const char *message, va_list str_format_args)
static void
print_error(const char *message, va_list str_format_args)
{
char buf[512];
vsnprintf(buf, sizeof(buf), message, str_format_args);

View File

@@ -77,7 +77,8 @@ enum {
#ifdef __GNUC__
__attribute__((format(printf, 1, 0)))
#endif
static void print_error(const char *message, va_list str_format_args)
static void
print_error(const char *message, va_list str_format_args)
{
char buf[512];
vsnprintf(buf, sizeof(buf), message, str_format_args);