mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 18:05:07 +00:00
Userland: Implement simple lspci command
This commit is contained in:
parent
6fe18a0417
commit
99ed4ce30c
2 changed files with 39 additions and 1 deletions
|
@ -268,7 +268,7 @@ Optional<KBuffer> procfs$pci(InodeIdentifier)
|
|||
obj.set("class", PCI::get_class(address));
|
||||
obj.set("subsystem_id", PCI::get_subsystem_id(address));
|
||||
obj.set("subsystem_vendor_id", PCI::get_subsystem_vendor_id(address));
|
||||
json.append(obj);
|
||||
json.append(move(obj));
|
||||
});
|
||||
return json.serialized<KBufferBuilder>();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue