1
Fork 0
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:
Conrad Pankoff 2019-08-14 01:32:22 +10:00 committed by Andreas Kling
parent 6fe18a0417
commit 99ed4ce30c
2 changed files with 39 additions and 1 deletions

View file

@ -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>();
}