X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f021475d9021fca0a6a72dd499aa1dc5dd1d2448..6fb7cd815ecf6b7f0874482aec3d82ad62bd4c4c:/src/smpi/smpi_f2c.cpp diff --git a/src/smpi/smpi_f2c.cpp b/src/smpi/smpi_f2c.cpp index e1c05affbf..1126c873d0 100644 --- a/src/smpi/smpi_f2c.cpp +++ b/src/smpi/smpi_f2c.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2015. The SimGrid Team. +/* Copyright (c) 2007-2017. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -36,7 +36,7 @@ char* F2C::get_key(char* key, int id) { } char* F2C::get_key_id(char* key, int id) { - snprintf(key, KEY_SIZE, "%x_%d",id, smpi_process_index()); + snprintf(key, KEY_SIZE, "%x_%d",id, smpi_process()->index()); return key; }