Message ID | 87r0ykff9a.fsf@oldenburg.str.redhat.com |
---|---|
State | New |
Headers | show |
Series | [COMMITTED] scripts/glibcelf.py: Properly report <elf.h> parsing failures | expand |
diff --git a/scripts/glibcelf.py b/scripts/glibcelf.py index 420cb21943..59aab56ecf 100644 --- a/scripts/glibcelf.py +++ b/scripts/glibcelf.py @@ -211,7 +211,7 @@ def _parse_elf_h(): self.errors = 0 def error(self, line, message): - errors += 1 + self.errors += 1 print('{}:{}: error: {}'.format(path, line, message)) def note(self, line, message):