aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor/stmsmi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/nor/stmsmi.c')
-rw-r--r--src/flash/nor/stmsmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/stmsmi.c b/src/flash/nor/stmsmi.c
index 3c186fdd..9a715ef9 100644
--- a/src/flash/nor/stmsmi.c
+++ b/src/flash/nor/stmsmi.c
@@ -638,7 +638,7 @@ static int get_stmsmi_info(struct flash_bank *bank, char *buf, int buf_size)
}
snprintf(buf, buf_size, "\nSMI flash information:\n"
- " Device \'%s\' (ID 0x%08x)\n",
+ " Device \'%s\' (ID 0x%08" PRIx32 ")\n",
stmsmi_info->dev->name, stmsmi_info->dev->device_id);
return ERROR_OK;