- if (tf->subbuf_corrupt != header->subbuf_corrupt) {
- g_warning("%d subbuffer(s) corrupted in tracefile %s",
- tf->subbuf_corrupt - header->subbuf_corrupt,
- g_quark_to_string(tf->long_name));
+ if (header->subbuf_corrupt) {
+ g_warning("%d subbuffer(s) corrupted so far in tracefile %s at block %u",
+ (guint)header->subbuf_corrupt,
+ g_quark_to_string(tf->long_name),
+ block_num);