Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[smx] Fix simcalls.py
authorGabriel Corona <gabriel.corona@loria.fr>
Tue, 24 May 2016 11:19:03 +0000 (13:19 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Wed, 25 May 2016 07:38:31 +0000 (09:38 +0200)
src/simix/simcalls.py

index 46c7101..18c6dab 100755 (executable)
@@ -168,7 +168,7 @@ class Simcall(object):
                              for i, arg in enumerate(self.args)))
         res.append('    if (self != simix_global->maestro_process) {')
         res.append(
-            '      XBT_DEBUG("Yield process \'%s\' on simcall %s (%d)", self->name,')
+            '      XBT_DEBUG("Yield process \'%s\' on simcall %s (%d)", self->name.c_str(),')
         res.append(
             '                SIMIX_simcall_name(self->simcall.call), (int)self->simcall.call);')
         res.append('      SIMIX_process_yield(self);')