From 31699b1b2c865cb3e87a985b6e57775051720551 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Mon, 29 Nov 2021 17:37:23 +0100 Subject: [PATCH] Print only one Verifying message There is no point to print them all at the same time. --- cmdline/state.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmdline/state.c b/cmdline/state.c index 336a70c5..3f762f5f 100644 --- a/cmdline/state.c +++ b/cmdline/state.c @@ -3904,6 +3904,8 @@ static void state_verify_content(struct snapraid_state* state, uint32_t crc) tommy_node* i; int fail; + msg_progress("Verifying...\n"); + /* start all reading threads */ i = tommy_list_head(&state->contentlist); while (i) { @@ -3912,8 +3914,6 @@ static void state_verify_content(struct snapraid_state* state, uint32_t crc) char tmp[PATH_MAX]; STREAM* f; - msg_progress("Verifying %s...\n", content->content); - pathprint(tmp, sizeof(tmp), "%s.tmp", content->content); f = sopen_read(tmp); if (f == 0) {