Use GB instead of GiB to be more consistent with HD size.

This commit is contained in:
Andrea Mazzoleni 2015-03-29 22:18:21 +02:00
parent dd888c30db
commit 3a4ce0b1e2
7 changed files with 24 additions and 17 deletions

View file

@ -84,7 +84,7 @@ void memory(void)
/* size of the file + the size of the 3 hashtables pointers to it, * 2 for the hashtable grow factor */
msg_tag("memory:file:%" PRIu64 "\n", (uint64_t)(sizeof(struct snapraid_file) + 3*2*sizeof(void*)));
msg_progress("Using %u MiB of memory.\n", (unsigned)(malloc_counter() / 1024 / 1024));
msg_progress("Using %u MiB of memory.\n", (unsigned)(malloc_counter() / (1024 * 1024)));
}