From 689fc3983b35bd029eb93f1eea6c662ee7d0ad58 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Fri, 6 Jul 2018 15:06:10 +0200 Subject: [PATCH] cleanup --- src/smpi/bindings/smpi_mpi.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/smpi/bindings/smpi_mpi.cpp b/src/smpi/bindings/smpi_mpi.cpp index e9700fbd81..93aead09b8 100644 --- a/src/smpi/bindings/smpi_mpi.cpp +++ b/src/smpi/bindings/smpi_mpi.cpp @@ -32,10 +32,10 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_mpi, smpi, "Logging specific to SMPI ,(mpi) XBT_VERB("SMPI - Entering %s", __func__); \ type ret = P##name args2; \ if(ret!=MPI_SUCCESS) { \ - char error_string[MPI_MAX_ERROR_STRING]; \ - int error_size; \ - PMPI_Error_string(ret, error_string, &error_size); \ - XBT_DEBUG("%s - returned %.*s instead of MPI_SUCCESS", __func__, error_size,error_string); \ + char error_string[MPI_MAX_ERROR_STRING]; \ + int error_size; \ + PMPI_Error_string(ret, error_string, &error_size); \ + XBT_DEBUG("%s - returned %.*s instead of MPI_SUCCESS", __func__, error_size,error_string); \ } \ XBT_VERB("SMPI - Leaving %s", __func__); \ return ret; \ -- 2.20.1