From e56df793d48b799917586d7f8ba20f9d372d00fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klemen=20Ko=C5=A1ir?= Date: Sat, 20 Aug 2016 13:03:54 +0200 Subject: [PATCH] Fix an incorrect function name --- blog/post/2015-12-09-page-tables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/post/2015-12-09-page-tables.md b/blog/post/2015-12-09-page-tables.md index a6d6b5b3..d2c0ab9b 100644 --- a/blog/post/2015-12-09-page-tables.md +++ b/blog/post/2015-12-09-page-tables.md @@ -881,7 +881,7 @@ To test the `unmap` function, we unmap the test page so that it translates to `N page_table.unmap(Page::containing_address(addr), allocator); println!("None = {:?}", page_table.translate(addr)); ``` -It causes a panic since we call the unimplemented `deallocate_frame` method in `unwrap`. If we comment this call out, it works without problems. But there is some bug in this function nevertheless. +It causes a panic since we call the unimplemented `deallocate_frame` method in `unmap`. If we comment this call out, it works without problems. But there is some bug in this function nevertheless. Let's read something from the mapped page (of course before we unmap it again):