mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
Userland: Implement simple lspci command
This commit is contained in:
committed by
Andreas Kling
parent
6fe18a0417
commit
99ed4ce30c
@@ -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>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user