Skip to content

Commit a401a3e

Browse files
committed
Minimal-printf: Fix wrapping of vsnprintf for ARM compiler
Substituting vsnprintf instead of __2vsnprintf allows calls to vsnprintf to be substituted with the minimal-printf variant for the ARM toolchain.
1 parent dc63202 commit a401a3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/source/minimal-printf/mbed_printf_armlink_overrides.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ int $Sub$$__2vprintf(char *buffer, const char *format, ...)
7676
return result;
7777
}
7878

79-
int $Sub$$__2vsnprintf(char *buffer, size_t length, const char *format, va_list arguments)
79+
int $Sub$$vsnprintf(char *buffer, size_t length, const char *format, va_list arguments)
8080
{
8181
return mbed_minimal_formatted_string(buffer, length, format, arguments, NULL);
8282
}

0 commit comments

Comments
 (0)