Skip to content

Commit f71c3b1

Browse files
committed
Set 'first' flag to print holes properly
1 parent f4d41ac commit f71c3b1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/DumpCommand.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ static void dump_events_matching(TraceReader& trace, const DumpFlags& flags,
340340
if (!first) {
341341
fputs(", ", out);
342342
}
343+
first = false;
343344
fprintf(out, "%p-%p", (void*)h.offset, (void*)(h.offset + h.size));
344345
}
345346
fputs("]", out);

0 commit comments

Comments
 (0)