Fix some misuses of the MiB and MB units

This commit is contained in:
Andrea Mazzoleni 2016-01-16 07:27:28 +01:00
parent 74fa6e9274
commit 9ade11483e
7 changed files with 27 additions and 22 deletions

View file

@ -86,7 +86,7 @@ void memory(void)
log_tag("memory:link:%" PRIu64 "\n", (uint64_t)(sizeof(struct snapraid_link)));
log_tag("memory:dir:%" PRIu64 "\n", (uint64_t)(sizeof(struct snapraid_dir)));
msg_progress("Using %u MiB of memory for the FileSystem.\n", (unsigned)(malloc_counter_get() / (1024 * 1024)));
msg_progress("Using %u MiB of memory for the FileSystem.\n", (unsigned)(malloc_counter_get() / MEBI));
}
/****************************************************************************/