Fixed inreplace warning in lcov formula