X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/41ac7e58ef132dea8cea9addf213671ae38229ac..9ba558e8b4fa1b132e834c1fbab074a3ac848169:/examples/msg/mc/bugged1_liveness.c diff --git a/examples/msg/mc/bugged1_liveness.c b/examples/msg/mc/bugged1_liveness.c index 458f5093d2..7fc5066c19 100644 --- a/examples/msg/mc/bugged1_liveness.c +++ b/examples/msg/mc/bugged1_liveness.c @@ -61,7 +61,7 @@ int client(int argc, char *argv[]) { int my_pid = MSG_process_get_PID(MSG_process_self()); - char *my_mailbox = bprintf("%s", argv[1]); + char *my_mailbox = xbt_strdup(argv[1]); msg_task_t grant = NULL, release = NULL;