diff options
Diffstat (limited to 'gcc/coverage.c')
-rw-r--r-- | gcc/coverage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/coverage.c b/gcc/coverage.c index 36400f32e9c..00da73c7d12 100644 --- a/gcc/coverage.c +++ b/gcc/coverage.c @@ -271,7 +271,7 @@ read_counts_file () for (ix = 0; ix != n_counts; ix++) entry->counts[ix] += gcov_read_counter (); } - gcov_seek (offset, length); + gcov_sync (offset, length); if ((error = gcov_is_error ())) { warning (error < 0 ? "`%s' has overflowed" : "`%s' is corrupted", |