From c61725a86f5c4b0aa90aa0e903d3ba60ecf44d21 Mon Sep 17 00:00:00 2001 From: suter Date: Wed, 13 Nov 2013 14:12:55 +0100 Subject: [PATCH 1/1] label doesn't match information --- examples/msg/io/storage.c | 4 ++-- examples/msg/io/storage.tesh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/msg/io/storage.c b/examples/msg/io/storage.c index 36b4c73926..3fa8fb68d2 100644 --- a/examples/msg/io/storage.c +++ b/examples/msg/io/storage.c @@ -72,8 +72,8 @@ static int host(int argc, char *argv[]){ MSG_file_dump(file); // check that sizes have changed - XBT_INFO("Total size: %"PRIu64" bytes", MSG_storage_get_free_size("/home")); - XBT_INFO("Free size: %"PRIu64" bytes", MSG_storage_get_used_size("/home")); + XBT_INFO("Free size: %"PRIu64" bytes", MSG_storage_get_free_size("/home")); + XBT_INFO("Used size: %"PRIu64" bytes", MSG_storage_get_used_size("/home")); // Now retrieve the size of created file and read it completely diff --git a/examples/msg/io/storage.tesh b/examples/msg/io/storage.tesh index daf0650dbd..deffa47742 100644 --- a/examples/msg/io/storage.tesh +++ b/examples/msg/io/storage.tesh @@ -18,8 +18,8 @@ $ ${bindir:=.}/io/storage ${srcdir:=.}/examples/platforms/storage.xml "--log=roo > Storage Id: 'Disk4' > Storage Type: 'single_SSD' > Content Type: 'txt_unix' -> [0.003333] (1@denise) Total size: 536857490006 bytes -> [0.003333] (1@denise) Free size: 13421994 bytes +> [0.003333] (1@denise) Free size: 536857490006 bytes +> [0.003333] (1@denise) Used size: 13421994 bytes > [0.004583] (1@denise) Read 200000 bytes on ./tmp/data.txt > [0.007917] (1@denise) Write 100000 more bytes on ./tmp/data.txt > [0.007917] (1@denise) File Descriptor information: -- 2.20.1