summaryrefslogtreecommitdiff
path: root/src/flash/str9x.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/str9x.c')
-rw-r--r--src/flash/str9x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/str9x.c b/src/flash/str9x.c
index 52e7839a..45d5ebf0 100644
--- a/src/flash/str9x.c
+++ b/src/flash/str9x.c
@@ -514,7 +514,7 @@ static int str9x_write(struct flash_bank_s *bank,
if (offset & 0x1)
{
- LOG_WARNING("offset 0x%x breaks required 2-byte alignment", offset);
+ LOG_WARNING("offset 0x%" PRIx32 " breaks required 2-byte alignment", offset);
return ERROR_FLASH_DST_BREAKS_ALIGNMENT;
}