aboutsummaryrefslogtreecommitdiff
path: root/src/device/device_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/device_util.c')
-rw-r--r--src/device/device_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/device_util.c b/src/device/device_util.c
index 7ded1df435..3f503b54f8 100644
--- a/src/device/device_util.c
+++ b/src/device/device_util.c
@@ -229,7 +229,7 @@ const char *dev_path(const struct device *dev)
dev->path.usb.port_type, dev->path.usb.port_id);
break;
case DEVICE_PATH_MMIO:
- snprintf(buffer, sizeof(buffer), "MMIO: %08x",
+ snprintf(buffer, sizeof(buffer), "MMIO: %08lx",
dev->path.mmio.addr);
break;
default: