Commit c0b35df6 authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

fixes debug message prefix

parent 66c79889
Pipeline #89258 passed with stages
in 29 minutes and 21 seconds
......@@ -148,8 +148,8 @@ inline void DEBUG_MSG(const char * format, ...)
"MPIrank%.4d ",
myrank);
vsnprintf(
debug_message_buffer + 8,
message_buffer_length - 8,
debug_message_buffer + 12,
message_buffer_length - 12,
format,
argptr);
va_end(argptr);
......@@ -165,8 +165,8 @@ inline void DEBUG_MSG_WAIT(MPI_Comm communicator, const char * format, ...)
"MPIrank%.4d ",
myrank);
vsnprintf(
debug_message_buffer + 8,
message_buffer_length - 8,
debug_message_buffer + 12,
message_buffer_length - 12,
format,
argptr);
va_end(argptr);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment