1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 17:55:09 +00:00

ProfileViewer: Fix opening the kernel image

The kernel image is now at /boot/Kernel (not /boot/kernel), so adjust
the paths accordingly.
This commit is contained in:
Sergey Bugaev 2020-05-15 18:20:11 +03:00 committed by Andreas Kling
parent 6fcdfe1169
commit b8fef58c0c
2 changed files with 2 additions and 2 deletions

View file

@ -72,7 +72,7 @@ DisassemblyModel::DisassemblyModel(Profile& profile, ProfileNode& node)
{
String path;
if (m_node.address() >= 0xc0000000)
path = "/boot/kernel";
path = "/boot/Kernel";
else
path = profile.executable_path();
m_file = make<MappedFile>(path);