diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2024-09-02 17:33:55 +0200 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2024-09-03 21:18:43 +0000 |
commit | 37c85f0cf54c992d283b5f306ce43b9522c515f2 (patch) | |
tree | a24e6c98ae6e6c16014b94702852efabf6c834d2 | |
parent | bf9080742a7e3dad01bfa8c53149159c8f1fe8b8 (diff) |
util/inteltool: Fix format for PCI vendor/device IDs
PCI vendor/device IDs are 16 bit.
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Change-Id: I87804a63f04b7461d348a245531542776575eb7a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84186
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r-- | util/inteltool/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/inteltool/memory.c b/util/inteltool/memory.c index 3e7d3d70b6..ae25494b13 100644 --- a/util/inteltool/memory.c +++ b/util/inteltool/memory.c @@ -242,7 +242,7 @@ int print_mchbar(struct pci_dev *nb, struct pci_access *pacc, const char *dump_s break; default: printf("Error: Dumping MCHBAR on this northbridge is not (yet) supported.\n"); - printf("Error: Unknown PCI id: %08x/%08x\n", nb->vendor_id, nb->device_id); + printf("Error: Unknown PCI id: %04x/%04x\n", nb->vendor_id, nb->device_id); return 1; } |