Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use m_file_t instead of m_file_t*
[simgrid.git] / examples / msg / io / file.c
index c52c2fd..c490eb0 100644 (file)
@@ -16,7 +16,7 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(io_file,
 
 int host(int argc, char *argv[])
 {
-  m_file_t* file;
+  m_file_t file;
   file = MSG_file_open("test.txt","rw");
   XBT_INFO("Host '%s' open %p",MSG_host_get_name(MSG_host_self()), file);