From: Ralph Ronnquist Date: Wed, 25 Oct 2023 11:44:44 +0000 (+1100) Subject: Cleanup debug the A/B markings from the dump printout. X-Git-Tag: 1.3~4 X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=84b317b77cad710e41f92338a14430f41067ff78;p=rrq%2Ffusefile.git Cleanup debug the A/B markings from the dump printout. --- diff --git a/fusefile.c b/fusefile.c index b406ce3..f36bcfb 100644 --- a/fusefile.c +++ b/fusefile.c @@ -975,7 +975,7 @@ static int dump_fragments(int push) { ENDSOURCE( sources.array[ src ] ) <= x; src++ ) { // Dump sources.array[src] in full if ( !push ) { - fprintf( stdout, "A %s/%ld:%ld\n", + fprintf( stdout, "%s/%ld:%ld\n", sources.array[ src ].filename, pos - sources.array[ src ].start + sources.array[ src ].from, @@ -986,7 +986,7 @@ static int dump_fragments(int push) { if ( ( src < sources.count ) && ( sources.array[ src ].start < x ) ) { // Dump sources.array[src] up to x; if ( !push ) { - fprintf( stdout, "B %s/%ld:%ld\n", + fprintf( stdout, "%s/%ld:%ld\n", sources.array[ src ].filename, sources.array[ src ].from, //pos - sources.array[ src ].start,