From 204407ca11715b1072d935ddbc673ed47fc10712 Mon Sep 17 00:00:00 2001 From: Weizhen Huang Date: Mon, 8 Jul 2024 16:22:51 +0200 Subject: [PATCH] Cleanup: make format --- intern/guardedalloc/intern/mallocn_guarded_impl.cc | 3 ++- intern/guardedalloc/intern/mallocn_lockfree_impl.cc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/intern/guardedalloc/intern/mallocn_guarded_impl.cc b/intern/guardedalloc/intern/mallocn_guarded_impl.cc index ef7bcd22735..90e6010a4f9 100644 --- a/intern/guardedalloc/intern/mallocn_guarded_impl.cc +++ b/intern/guardedalloc/intern/mallocn_guarded_impl.cc @@ -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); diff --git a/intern/guardedalloc/intern/mallocn_lockfree_impl.cc b/intern/guardedalloc/intern/mallocn_lockfree_impl.cc index bda9a52ddde..5b18040c19e 100644 --- a/intern/guardedalloc/intern/mallocn_lockfree_impl.cc +++ b/intern/guardedalloc/intern/mallocn_lockfree_impl.cc @@ -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);