Skip to content

Commit e5576a1

Browse files
committed
nit
1 parent a1ad0a9 commit e5576a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/alloc/isolated_alloc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ impl IsolatedAlloc {
274274
/// Returns a vector of page addresses managed by the allocator.
275275
pub fn pages(&self) -> Vec<usize> {
276276
let mut pages: Vec<_> =
277-
self.page_ptrs.clone().into_iter().map(|p| p.addr()).collect();
277+
self.page_ptrs.clone().into_iter().map(|p| p.expose_provenance()).collect();
278278
self.huge_ptrs.iter().for_each(|(ptr, size)| {
279279
for i in 0..size / self.page_size {
280280
pages.push(unsafe { ptr.add(i * self.page_size).expose_provenance() });

0 commit comments

Comments
 (0)