Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Introduce sg_storage_size_t type
[simgrid.git] / teshsuite / msg / storage / storage.c
index 8512d6e..b4a3a54 100644 (file)
@@ -37,11 +37,11 @@ void storage_info(msg_host_t host){
   {
     XBT_INFO("\tStorage mount name: %s", mount_name);
 
-    size_t free_size = MSG_storage_get_free_size(mount_name);
-    size_t used_size = MSG_storage_get_used_size(mount_name);
+    sg_storage_size_t free_size = MSG_storage_get_free_size(mount_name);
+    sg_storage_size_t used_size = MSG_storage_get_used_size(mount_name);
 
-    XBT_INFO("\t\tFree size: %zu octets", free_size);
-    XBT_INFO("\t\tUsed size: %zu octets", used_size);
+    XBT_INFO("\t\tFree size: %zu bytes", free_size);
+    XBT_INFO("\t\tUsed size: %zu bytes", used_size);
 
     storage = MSG_storage_get_by_name(storage_name);
     display_storage_properties(storage);