aboutsummaryrefslogtreecommitdiff
path: root/kernel/kapi/boot_module/bus.cpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-07-24 08:37:03 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-07-24 08:37:03 +0200
commit28616d1f5cc56d5a91b414af6d9aec51ad996081 (patch)
tree2a4b44f0350dcf6adbaef70c149314582512865d /kernel/kapi/boot_module/bus.cpp
parente6d79751cd37f2cbe0d4bd721e59a4ca0d072a55 (diff)
downloadkernel-28616d1f5cc56d5a91b414af6d9aec51ad996081.tar.xz
kernel-28616d1f5cc56d5a91b414af6d9aec51ad996081.zip
libs/mb2: fix boot module command line bug
Diffstat (limited to 'kernel/kapi/boot_module/bus.cpp')
-rw-r--r--kernel/kapi/boot_module/bus.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/kapi/boot_module/bus.cpp b/kernel/kapi/boot_module/bus.cpp
index 3e95a3ac..83c97f8e 100644
--- a/kernel/kapi/boot_module/bus.cpp
+++ b/kernel/kapi/boot_module/bus.cpp
@@ -20,8 +20,7 @@ namespace kapi::boot_modules
{
auto const text = std::string_view{token};
auto const equals = text.find('=');
- if (equals != std::string_view::npos && text.substr(0, equals) == key &&
- text.substr(equals + 1, value.size()) == value)
+ if (equals != std::string_view::npos && text.substr(0, equals) == key && text.substr(equals + 1) == value)
{
return true;
}