-/* Copyright (c) 2008-2019. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2008-2020. 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. */
msg_file_t file = NULL;
sg_size_t read;
sg_size_t write;
- msg_storage_t st;
const char* st_name;
switch (MSG_process_self_PID()) {
const char* filename = MSG_file_get_name(file);
XBT_INFO("\tOpen file '%s'", filename);
- st = MSG_storage_get_by_name(st_name);
+ const_sg_storage_t st = MSG_storage_get_by_name(st_name);
XBT_INFO("\tCapacity of the storage element '%s' is stored on: %llu / %llu", filename, MSG_storage_get_used_size(st),
MSG_storage_get_size(st));