From: suter Date: Sat, 5 Oct 2013 14:12:27 +0000 (+0200) Subject: use proper format X-Git-Tag: v3_9_90~39^2~9 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d65f3abb5e6bdb5ab5eccb0e380916983c412c2c?ds=sidebyside use proper format --- diff --git a/teshsuite/msg/storage/storage.c b/teshsuite/msg/storage/storage.c index 33dfab5b35..e15baad471 100644 --- a/teshsuite/msg/storage/storage.c +++ b/teshsuite/msg/storage/storage.c @@ -1,5 +1,6 @@ #include "msg/msg.h" #include "xbt/log.h" +#include "inttypes.h" XBT_LOG_NEW_DEFAULT_CATEGORY(storage,"Messages specific for this simulation"); @@ -128,9 +129,9 @@ void display_storage_content(msg_storage_t storage){ xbt_dict_t content = MSG_storage_get_content(storage); if (content){ xbt_dict_foreach(content, cursor, file, size) - XBT_INFO("%s size: %zu bytes", file, size); - }else{ - XBT_INFO("No content."); + XBT_INFO("%s size: %" PRIu64 "bytes", file, size); + } else { + XBT_INFO("No content."); } }