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);