From: oharboe Date: Fri, 29 Feb 2008 11:18:41 +0000 (+0000) Subject: Pavel Chromy: clarify error messages X-Git-Tag: v0.1.0~902 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=43126e8f495ba8158f1a03f6309e305768ad7b99;p=openocd Pavel Chromy: clarify error messages git-svn-id: svn://svn.berlios.de/openocd/trunk@387 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- 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;