aboutsummaryrefslogtreecommitdiff
path: root/ks_flash.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-02-27 16:07:19 -0500
committerRob Austein <sra@hactrn.net>2017-02-27 16:07:19 -0500
commit8dd40de9dc481277d15cf4f1ff707ad620ada7ed (patch)
treeb889411d39163be1c4058d4d586a825a525dee4b /ks_flash.c
parent44652e52ae7b238adcac5a347ca74f2a9838ab6f (diff)
Track change to stm32 keystore API.
Diffstat (limited to 'ks_flash.c')
-rw-r--r--ks_flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ks_flash.c b/ks_flash.c
index c0179ca..7a87d5c 100644
--- a/ks_flash.c
+++ b/ks_flash.c
@@ -455,7 +455,7 @@ static hal_error_t block_erase(const unsigned blockno)
return HAL_ERROR_IMPOSSIBLE;
/* Sigh, magic numeric return codes */
- if (keystore_erase_subsectors(blockno, blockno) != 1)
+ if (keystore_erase_subsector(blockno) != 1)
return HAL_ERROR_KEYSTORE_ACCESS;
return HAL_OK;