<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">From: Jeremy Bettis &lt;jbettis@google.com&gt;

Fix incorrect error code usage.

Bug: https://github.com/linux-test-project/lcov/issues/259
Signed-off-by: Jeremy Bettis &lt;jbettis@google.com&gt;

--- lcov-2.0/lib/lcovutil.pm
+++ lcov-2.0-fixed/lib/lcovutil.pm
@@ -4219,7 +4219,7 @@
                         } else {
                             if ($f-&gt;end_line() != $func-&gt;end_line()) {
                                 lcovutil::ignorable_error(
-                                       $lcovutil::ERROR_INCONSISTENT,
+                                       $lcovutil::ERROR_INCONSISTENT_DATA,
                                        '"' . $func-&gt;file() .
                                            '":' . $first . ': function \'' .
                                            $func-&gt;name() . ' last line is ' .
</pre></body></html>