Adds total size at the GUI progress.

This commit is contained in:
Andrea Mazzoleni 2011-06-26 20:40:20 +02:00
parent b3f8d84ac6
commit 9aba760012

View file

@ -824,7 +824,7 @@ void state_progress_end(struct snapraid_state* state, block_off_t countpos, bloc
int state_progress(struct snapraid_state* state, block_off_t blockpos, block_off_t countpos, block_off_t countmax, data_off_t countsize)
{
if (state->gui) {
fprintf(stderr, "run:pos:%u:%u:\n", blockpos, countpos);
fprintf(stderr, "run:pos:%u:%u:%"PRIu64"\n", blockpos, countpos, countsize);
fflush(stderr);
} else {
time_t now;