diff options
Diffstat (limited to 'trace-input.c')
-rw-r--r-- | trace-input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trace-input.c b/trace-input.c index 48dafe9..4ffe0ee 100644 --- a/trace-input.c +++ b/trace-input.c | |||
@@ -135,7 +135,7 @@ static const char *show_records(struct list_head *pages) | |||
135 | 135 | ||
136 | memset(buf, 0, sizeof(buf)); | 136 | memset(buf, 0, sizeof(buf)); |
137 | len = 0; | 137 | len = 0; |
138 | list_for_each_entry(page, pages, struct page, list) { | 138 | list_for_each_entry(page, pages, list) { |
139 | for (record = page->records; record; record = record->next) { | 139 | for (record = page->records; record; record = record->next) { |
140 | int n; | 140 | int n; |
141 | n = snprintf(buf+len, BUFSIZ - len, " 0x%lx", record->alloc_addr); | 141 | n = snprintf(buf+len, BUFSIZ - len, " 0x%lx", record->alloc_addr); |