ANDROID: 16K: Fix call to show_pad_maps_fn()

The call should be for printing maps not smaps; fix this.

Bug: 330117029
Bug: 327600007
Bug: 330767927
Bug: 328266487
Bug: 329803029
Change-Id: I8356b9e93fa2a300cb8bcd66fed857d42e8bfdca
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
This commit is contained in:
Kalesh Singh
2024-05-01 12:53:08 -07:00
parent 596b6507c3
commit 2a64b7fe17

View File

@@ -326,7 +326,7 @@ void show_map_pad_vma(struct vm_area_struct *vma, struct vm_area_struct *pad,
if (smaps)
((show_pad_smaps_fn)func)(m, pad);
else
((show_pad_smaps_fn)func)(m, pad);
((show_pad_maps_fn)func)(m, pad);
kfree(pad);
kfree(vma);