Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix Host::execute to use *this as a host location, not the this_actor->get_host()
[simgrid.git] / teshsuite / xbt / log_usage / log_usage.c
index 5a67278304308cb3d797ba503858ad9dcf618fe4..ae5ae8407077785ed610644eb950c837530802be 100644 (file)
@@ -1,12 +1,12 @@
 /* log_usage - A test of normal usage of the log facilities                 */
 
-/* Copyright (c) 2004-2020. The SimGrid Team.
+/* Copyright (c) 2004-2023. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#include <simgrid/msg.h>
+#include <simgrid/engine.h>
 #include <xbt.h>
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(test, top, "Logging specific to this test");
@@ -24,7 +24,7 @@ static void dolog(const char *settings)
 
 int main(int argc, char **argv)
 {
-  MSG_init(&argc, argv);
+  simgrid_init(&argc, argv);
 
   dolog("");
   dolog(" ");