aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcov.c')
-rw-r--r--gcc/gcov.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gcov.c b/gcc/gcov.c
index 40e16cf..2225f02 100644
--- a/gcc/gcov.c
+++ b/gcc/gcov.c
@@ -904,7 +904,7 @@ read_graph_file ()
fn = NULL;
current_tag = 0;
}
- gcov_seek (base, length);
+ gcov_sync (base, length);
if (gcov_is_error ())
{
corrupt:;
@@ -1059,7 +1059,7 @@ read_count_file ()
for (ix = 0; ix != fn->num_counts; ix++)
fn->counts[ix] += gcov_read_counter ();
}
- gcov_seek (base, length);
+ gcov_sync (base, length);
if ((error = gcov_is_error ()))
{
fnotice (stderr, error < 0