Skip to content
Snippets Groups Projects
Commit 43126e8f authored by oharboe's avatar oharboe
Browse files

Pavel Chromy: clarify error messages

git-svn-id: svn://svn.berlios.de/openocd/trunk@387 b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent 67e0aea2
Branches
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment