summaryrefslogtreecommitdiff
path: root/addr2line.c
diff options
context:
space:
mode:
Diffstat (limited to 'addr2line.c')
-rw-r--r--addr2line.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addr2line.c b/addr2line.c
index 7c3728f476..3645fa11b1 100644
--- a/addr2line.c
+++ b/addr2line.c
@@ -1794,7 +1794,7 @@ parse_ver5_debug_line_header(const char *p, int idx, uint8_t format, obj_info_t
if (dw_lnct == 2 /* DW_LNCT_directory_index */ && v.type == VAL_uint && out_directory_index)
*out_directory_index = v.as.uint64;
}
- if (i == idx) return 0;
+ if (j == idx) return 0;
}
return reader.p;