summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-05-10 12:06:45 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-05-11 12:52:30 +0000
commite354a4b70dcf05fa9a0cff1d56c76413eef5f5e2 (patch)
tree8190df3da5e1c7ebee93ae444765e5f0d491b451 /src
parenteb73e5f4a4db631957acbb7bf5f9721f2d297439 (diff)
device/device.c: Print bus numbers in decimal
For consistency with other log messages, print bus numbers in decimal. Change-Id: Ib08ae40fc67c5f8fafd760e8dbb729d6de34c2bb Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/54015 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/device/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/device.c b/src/device/device.c
index 56110225fa..bf97997f55 100644
--- a/src/device/device.c
+++ b/src/device/device.c
@@ -148,7 +148,7 @@ static void read_resources(struct bus *bus)
{
struct device *curdev;
- printk(BIOS_SPEW, "%s %s bus %x link: %d\n", dev_path(bus->dev),
+ printk(BIOS_SPEW, "%s %s bus %d link: %d\n", dev_path(bus->dev),
__func__, bus->secondary, bus->link_num);
/* Walk through all devices and find which resources they need. */