diff options
Diffstat (limited to 'kernel/kapi')
| -rw-r--r-- | kernel/kapi/devices/bus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/kapi/devices/bus.cpp b/kernel/kapi/devices/bus.cpp index 2b94e486..1398c781 100644 --- a/kernel/kapi/devices/bus.cpp +++ b/kernel/kapi/devices/bus.cpp @@ -108,7 +108,7 @@ namespace kapi::devices { auto grandchildren = kstd::vector<kstd::shared_ptr<kapi::devices::device>>{}; { - auto guard = kstd::lock_guard{m_lock}; + auto guard = kstd::lock_guard{child_bus->m_lock}; // NOTE: this could be more efficient one vector::assign is implemented. grandchildren = kstd::vector(child_bus->m_devices.begin(), child_bus->m_devices.end()); } |
