diff options
author | Liav A <liavalb@gmail.com> | 2022-10-14 21:55:44 +0300 |
---|---|---|
committer | Andrew Kaster <andrewdkaster@gmail.com> | 2022-10-25 15:33:34 -0600 |
commit | b579d9518cbb0671d7efc919e00c08c4424e4a91 (patch) | |
tree | 4b5b6815df50f6995cac5d390266add1f0765cf3 /Userland | |
parent | c7dca00b65dcc9f120f5e241b85e1b59ebbbf81d (diff) | |
download | serenity-b579d9518cbb0671d7efc919e00c08c4424e4a91.zip |
LibSymbolication: Use new global variables at /sys/kernel/ directory
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Libraries/LibSymbolication/Symbolication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibSymbolication/Symbolication.cpp b/Userland/Libraries/LibSymbolication/Symbolication.cpp index 47694a175c..eb41a7c1a7 100644 --- a/Userland/Libraries/LibSymbolication/Symbolication.cpp +++ b/Userland/Libraries/LibSymbolication/Symbolication.cpp @@ -37,7 +37,7 @@ static KernelBaseState s_kernel_base_state = KernelBaseState::Uninitialized; Optional<FlatPtr> kernel_base() { if (s_kernel_base_state == KernelBaseState::Uninitialized) { - auto file = Core::File::open("/proc/kernel_base", Core::OpenMode::ReadOnly); + auto file = Core::File::open("/sys/kernel/load_base", Core::OpenMode::ReadOnly); if (file.is_error()) { s_kernel_base_state = KernelBaseState::Invalid; return {}; |