summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/flash/flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/flash.c b/src/flash/flash.c
index 96a74cd6..d61ecf20 100644
--- a/src/flash/flash.c
+++ b/src/flash/flash.c
@@ -106,7 +106,7 @@ static int flash_driver_erase(struct flash_bank_s *bank, int first, int last)
retval=bank->driver->erase(bank, first, last);
if (retval!=ERROR_OK)
{
- ERROR("failed erasing banks %d to %d", first, last);
+ ERROR("failed erasing sectors %d to %d", first, last);
}
return retval;
@@ -119,7 +119,7 @@ int flash_driver_protect(struct flash_bank_s *bank, int set, int first, int last
retval=bank->driver->protect(bank, set, first, last);
if (retval!=ERROR_OK)
{
- ERROR("failed protecting banks %d to %d", first, last);
+ ERROR("failed setting protection for areas %d to %d", first, last);
}
return retval;