aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/caf/single.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/caf/single.c')
-rw-r--r--libgfortran/caf/single.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/caf/single.c b/libgfortran/caf/single.c
index 2258f2f..09cc62f 100644
--- a/libgfortran/caf/single.c
+++ b/libgfortran/caf/single.c
@@ -48,7 +48,7 @@ caf_runtime_error (const char *message, ...)
va_list ap;
fprintf (stderr, "Fortran runtime error: ");
va_start (ap, message);
- fprintf (stderr, message, ap);
+ vfprintf (stderr, message, ap);
va_end (ap);
fprintf (stderr, "\n");