From 41578bef996adf9155c0ccc7dee8cc62b8a1d950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Schl=C3=BCter?= Date: Fri, 8 Apr 2022 09:02:32 +0200 Subject: [PATCH] Fix misnamed argument in vsnprintf implementation --- libgfortran/runtime/error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgfortran/runtime/error.c b/libgfortran/runtime/error.c index 8366cb9e95064..42254428e6e88 100644 --- a/libgfortran/runtime/error.c +++ b/libgfortran/runtime/error.c @@ -138,7 +138,7 @@ estr_writev (const struct iovec *iov, int iovcnt) #ifndef HAVE_VSNPRINTF static int -gf_vsnprintf (char *str, size_t size, const char *format, va_list ap) +gf_vsnprintf (char *buffer, size_t size, const char *format, va_list ap) { int written;