summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/at91sam7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/at91sam7.c b/src/flash/at91sam7.c
index 44bedd96..69b89c0b 100644
--- a/src/flash/at91sam7.c
+++ b/src/flash/at91sam7.c
@@ -1091,7 +1091,7 @@ int at91sam7_info(struct flash_bank_s *bank, char *buf, int buf_size)
buf_size -= printed;
printed = snprintf(buf, buf_size,
- " Master clock (estimated): %li KHz | External clock: %li KHz\n",
+ " Master clock (estimated): %u KHz | External clock: %u KHz\n",
at91sam7_info->mck_freq / 1000, at91sam7_info->ext_freq / 1000);
buf += printed;