mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17:35 +00:00
Userland: Rename PCI slot to PCI device terminology
This commit is contained in:
parent
06d76a4717
commit
b48d8d1d6d
3 changed files with 5 additions and 5 deletions
|
@ -507,9 +507,9 @@ NonnullRefPtr<GUI::Widget> build_pci_devices_tab()
|
|||
[](const JsonObject& object) {
|
||||
auto seg = object.get("seg").to_u32();
|
||||
auto bus = object.get("bus").to_u32();
|
||||
auto slot = object.get("slot").to_u32();
|
||||
auto device = object.get("device").to_u32();
|
||||
auto function = object.get("function").to_u32();
|
||||
return String::formatted("{:04x}:{:02x}:{:02x}.{}", seg, bus, slot, function);
|
||||
return String::formatted("{:04x}:{:02x}:{:02x}.{}", seg, bus, device, function);
|
||||
});
|
||||
pci_fields.empend(
|
||||
"Class", Gfx::TextAlignment::CenterLeft,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue