diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-11-04 00:48:24 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-11-04 00:48:45 +0100 |
commit | a6e9119537b6e57d2ad1e756d4ad7667242e59c7 (patch) | |
tree | 280c35b3ada1dd73224febb30261412d27d7c91c /Kernel | |
parent | d67c6a92db3c0ac7fc2e351b335997010196ed11 (diff) | |
download | serenity-a6e9119537b6e57d2ad1e756d4ad7667242e59c7.zip |
Kernel: Tweak some outdated kprintfs in Region
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/VM/Region.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/VM/Region.cpp b/Kernel/VM/Region.cpp index e8f6fe8097..65495779d3 100644 --- a/Kernel/VM/Region.cpp +++ b/Kernel/VM/Region.cpp @@ -384,7 +384,7 @@ PageFaultResponse Region::handle_inode_fault(size_t page_index_in_region) auto& inode = inode_vmobject.inode(); auto nread = inode.read_bytes((first_page_index() + page_index_in_region) * PAGE_SIZE, PAGE_SIZE, page_buffer, nullptr); if (nread < 0) { - kprintf("MM: page_in_from_inode had error (%d) while reading!\n", nread); + kprintf("MM: handle_inode_fault had error (%d) while reading!\n", nread); return PageFaultResponse::ShouldCrash; } if (nread < PAGE_SIZE) { @@ -394,7 +394,7 @@ PageFaultResponse Region::handle_inode_fault(size_t page_index_in_region) cli(); vmobject_physical_page_entry = MM.allocate_user_physical_page(MemoryManager::ShouldZeroFill::No); if (vmobject_physical_page_entry.is_null()) { - kprintf("MM: page_in_from_inode was unable to allocate a physical page\n"); + kprintf("MM: handle_inode_fault was unable to allocate a physical page\n"); return PageFaultResponse::ShouldCrash; } remap_page(page_index_in_region); |