aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor/nrf51.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/nor/nrf51.c')
-rw-r--r--src/flash/nor/nrf51.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/nrf51.c b/src/flash/nor/nrf51.c
index 34297efb..351a86e4 100644
--- a/src/flash/nor/nrf51.c
+++ b/src/flash/nor/nrf51.c
@@ -709,7 +709,7 @@ static int nrf51_erase_page(struct flash_bank *bank,
LOG_DEBUG("Erasing page at 0x%"PRIx32, sector->offset);
if (sector->is_protected) {
- LOG_ERROR("Cannot erase protected sector at 0x%x", sector->offset);
+ LOG_ERROR("Cannot erase protected sector at 0x%" PRIx32, sector->offset);
return ERROR_FAIL;
}