summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-02-29 11:18:41 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-02-29 11:18:41 +0000
commit43126e8f495ba8158f1a03f6309e305768ad7b99 (patch)
tree724eceebd8f61774e33b63eb90591a4f0b8acc97
parent67e0aea25850b8286f750e6458e5de741e6cb3b5 (diff)
downloadopenocd+libswd-43126e8f495ba8158f1a03f6309e305768ad7b99.tar.gz
openocd+libswd-43126e8f495ba8158f1a03f6309e305768ad7b99.tar.bz2
openocd+libswd-43126e8f495ba8158f1a03f6309e305768ad7b99.tar.xz
openocd+libswd-43126e8f495ba8158f1a03f6309e305768ad7b99.zip
Pavel Chromy: clarify error messages
git-svn-id: svn://svn.berlios.de/openocd/trunk@387 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-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;