From: Ralph Ronnquist Date: Tue, 5 Dec 2023 08:18:31 +0000 (+1100) Subject: Corrected the "-dump" report of fragment start position. X-Git-Tag: 1.3 X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;p=rrq%2Ffusefile.git Corrected the "-dump" report of fragment start position. --- diff --git a/fusefile.c b/fusefile.c index f36bcfb..a1bf2bd 100644 --- a/fusefile.c +++ b/fusefile.c @@ -988,8 +988,8 @@ static int dump_fragments(int push) { if ( !push ) { fprintf( stdout, "%s/%ld:%ld\n", sources.array[ src ].filename, - sources.array[ src ].from, - //pos - sources.array[ src ].start, + sources.array[ src ].from + + pos - sources.array[ src ].start, x - sources.array[ src ].start + sources.array[ src ].from );