X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2f5178970569ee007ef47bdbc4e54eb46378ed4c..4b89732891979b045102320d32bbab5826aa1ac7:/examples/msg/synchro-semaphore/synchro-semaphore.c diff --git a/examples/msg/synchro-semaphore/synchro-semaphore.c b/examples/msg/synchro-semaphore/synchro-semaphore.c index d62925d773..aa8d556631 100644 --- a/examples/msg/synchro-semaphore/synchro-semaphore.c +++ b/examples/msg/synchro-semaphore/synchro-semaphore.c @@ -63,8 +63,8 @@ int main(int argc, char* argv[]) bobTimes[7] = xbt_strdup("5"); bobTimes[8] = NULL; - MSG_process_create_with_arguments(xbt_strdup("Alice"), peer, NULL, h, 8, aliceTimes); - MSG_process_create_with_arguments(xbt_strdup("Bob"), peer, NULL, h, 8, bobTimes); + MSG_process_create_with_arguments("Alice", peer, NULL, h, 8, aliceTimes); + MSG_process_create_with_arguments("Bob", peer, NULL, h, 8, bobTimes); msg_error_t res = MSG_main(); XBT_INFO("Finished\n");