2011-07-15 Daniel Carrera <dcarrera@gmail.com>
* caf/mpi.c (caf_runtime_error): Change fprintf to vfprintf.
* caf/single.c (caf_runtime_error): Ditto.
From-SVN: r176340
+2011-07-15 Daniel Carrera <dcarrera@gmail.com>
+
+ * caf/mpi.c (caf_runtime_error): Change fprintf to vfprintf.
+ * caf/single.c (caf_runtime_error): Ditto.
+
2011-07-14 Daniel Carrera <dcarrera@gmail.com>
* caf/single.c: Include stdarg.h header.
va_list ap;
fprintf (stderr, "Fortran runtime error on image %d: ", caf_this_image);
va_start (ap, message);
- fprintf (stderr, message, ap);
+ vfprintf (stderr, message, ap);
va_end (ap);
fprintf (stderr, "\n");
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");