Add missing esc_tag() in status and parity split log tags

This commit is contained in:
Andrea Mazzoleni 2026-08-17 19:02:15 +02:00
parent e9f9603207
commit 1ffafc8c0a
4 changed files with 10 additions and 9 deletions

View file

@ -130,9 +130,9 @@ int state_status(struct snapraid_state* state)
++file_zerosubsecond;
++disk_file_zerosubsecond;
if (disk_file_zerosubsecond < 50)
log_tag("zerosubsecond:%s:%s: \n", disk->name, file->sub);
log_tag("zerosubsecond:%s:%s: \n", disk->name, esc_tag(file->sub));
if (disk_file_zerosubsecond == 50)
log_tag("zerosubsecond:%s:%s: (more follow)\n", disk->name, file->sub);
log_tag("zerosubsecond:%s:%s: (more follow)\n", disk->name, esc_tag(file->sub));
}
/* check fragmentation */