A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use proper format
[simgrid.git]
/
teshsuite
/
msg
/
storage
/
storage.c
diff --git
a/teshsuite/msg/storage/storage.c
b/teshsuite/msg/storage/storage.c
index
33dfab5
..
e15baad
100644
(file)
--- 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 "msg/msg.h"
#include "xbt/log.h"
+#include "inttypes.h"
XBT_LOG_NEW_DEFAULT_CATEGORY(storage,"Messages specific for this simulation");
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_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.");
}
}
}
}