summaryrefslogtreecommitdiff
path: root/src/devices/device_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/device_util.c')
-rw-r--r--src/devices/device_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/device_util.c b/src/devices/device_util.c
index fa2adaef4f..a2741e3e98 100644
--- a/src/devices/device_util.c
+++ b/src/devices/device_util.c
@@ -430,7 +430,7 @@ void report_resource_stored(device_t dev, struct resource *resource, const char
end = resource_end(resource);
buf[0] = '\0';
if (resource->flags & IORESOURCE_PCI_BRIDGE) {
- sprintf(buf, "bus %d ", dev->link[0].secondary);
+ sprintf(buf, "bus %02x ", dev->link[0].secondary);
}
printk_debug(
"%s %02x <- [0x%010Lx - 0x%010Lx] %s%s%s\n",