Skip to content

Commit

Permalink
fix aarch64 compile error due to undefined variable
Browse files Browse the repository at this point in the history
fixes #36

Signed-off-by: Timo Teräs <[email protected]>
  • Loading branch information
fabled committed Jan 15, 2017
1 parent d00f237 commit b0f77c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions procinterrupts.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ GList* collect_full_irq_list()
char *line = NULL;
size_t size = 0;
char *irq_name, *irq_mod, *savedptr, *last_token, *p;
#ifdef AARCH64
char *tmp;
#endif

file = fopen("/proc/interrupts", "r");
if (!file)
Expand Down

0 comments on commit b0f77c1

Please sign in to comment.