diff options
author | Liav A <liavalb@gmail.com> | 2020-04-10 20:25:03 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-11 10:02:31 +0200 |
commit | 65f939b55c3d2c7c5e9f7f8baf4b748693bf513a (patch) | |
tree | 74b06a5264e68795884805a28f8101ed412007ae /Kernel/FileSystem | |
parent | 688dd9ea66b83fcba6124ddf7d901e227599cfe8 (diff) | |
download | serenity-65f939b55c3d2c7c5e9f7f8baf4b748693bf513a.zip |
Kernel: Keep records of PCI::Address & PCI::ID pairs for enumeration
Diffstat (limited to 'Kernel/FileSystem')
-rw-r--r-- | Kernel/FileSystem/ProcFS.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/ProcFS.cpp b/Kernel/FileSystem/ProcFS.cpp index 2df01329b0..c487b785c2 100644 --- a/Kernel/FileSystem/ProcFS.cpp +++ b/Kernel/FileSystem/ProcFS.cpp @@ -338,7 +338,7 @@ Optional<KBuffer> procfs$pci(InodeIdentifier) { KBufferBuilder builder; JsonArraySerializer array { builder }; - PCI::enumerate_all([&array](PCI::Address address, PCI::ID id) { + PCI::enumerate([&array](PCI::Address address, PCI::ID id) { auto obj = array.add_object(); obj.add("seg", address.seg()); obj.add("bus", address.bus()); |