This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, Fortran] Add runtime_error function to libgfortran/caf/mpi.c


Daniel Carrera wrote:
On 07/15/2011 10:34 PM, Nathan Froyd wrote:
+ va_start (ap, message);
+ fprintf (stderr, message, ap);

Did you mean to call vfprintf here?

Well spotted! Thanks for the report, Nathan!


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.

OK. Thanks for the quick patch!


Tobias


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]