Skip to content

Commit b669f15

Browse files
committed
kdumpid: Fix a 32-bit build error caused by max_pfn type mismatch
The maximum PFN is obtained with a call to kdump_get_number_attr(), which takes a pointer to a kdump_num_t as its parameter. Signed-off-by: Petr Tesarik <[email protected]>
1 parent e9b33d4 commit b669f15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/kdumpid/kdumpid.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ struct dump_desc {
2121

2222
void *page; /* page data buffer */
2323
kdump_num_t page_size; /* target page size */
24-
unsigned long max_pfn; /* max PFN for read_page */
24+
kdump_num_t max_pfn; /* max PFN for read_page */
2525

2626
const char *format; /* format name */
2727

0 commit comments

Comments
 (0)