diff options
author | Jean-Baptiste Boric <jblbeurope@gmail.com> | 2021-01-31 12:32:50 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-31 19:06:40 +0100 |
commit | b48d8d1d6de5bcb0d2dc02590f5af3c0855dad9d (patch) | |
tree | a531e2348278370d991b34822245fb1eb96e0d4a /Userland/Utilities/lspci.cpp | |
parent | 06d76a4717b3678808d6e8339c0f18cbd7ddbb70 (diff) | |
download | serenity-b48d8d1d6de5bcb0d2dc02590f5af3c0855dad9d.zip |
Userland: Rename PCI slot to PCI device terminology
Diffstat (limited to 'Userland/Utilities/lspci.cpp')
-rw-r--r-- | Userland/Utilities/lspci.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Utilities/lspci.cpp b/Userland/Utilities/lspci.cpp index 714d184326..45a3f48932 100644 --- a/Userland/Utilities/lspci.cpp +++ b/Userland/Utilities/lspci.cpp @@ -91,7 +91,7 @@ int main(int argc, char** argv) auto dev = value.as_object(); auto seg = dev.get("seg").to_u32(); auto bus = dev.get("bus").to_u32(); - auto slot = dev.get("slot").to_u32(); + auto device = dev.get("device").to_u32(); auto function = dev.get("function").to_u32(); auto vendor_id = dev.get("vendor_id").to_u32(); auto device_id = dev.get("device_id").to_u32(); @@ -116,7 +116,7 @@ int main(int argc, char** argv) if (class_name.is_empty()) class_name = String::format("%02x%02x", class_id, subclass_id); - outln(format, seg, bus, slot, function, class_name, vendor_name, device_name, revision_id); + outln(format, seg, bus, device, function, class_name, vendor_name, device_name, revision_id); }); return 0; |