diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-03 15:10:16 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-03 15:10:16 +0000 |
commit | 1f84e5ac57ac5ecbf95dd78f86b66faac6db6718 (patch) | |
tree | 2a2cdbb969133b759d8b24cd09f1720d0bde3fcb /src/flash | |
parent | caf14c53db57b48303a8f5f3f001faaf0e117f9d (diff) | |
download | openocd+libswd-1f84e5ac57ac5ecbf95dd78f86b66faac6db6718.tar.gz openocd+libswd-1f84e5ac57ac5ecbf95dd78f86b66faac6db6718.tar.bz2 openocd+libswd-1f84e5ac57ac5ecbf95dd78f86b66faac6db6718.tar.xz openocd+libswd-1f84e5ac57ac5ecbf95dd78f86b66faac6db6718.zip |
Piotr Esden-Tempski <piotr@esden.net> Mac OS X compile fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@1594 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/avrf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/flash/avrf.c b/src/flash/avrf.c index 09bc3093..9d32e6d1 100644 --- a/src/flash/avrf.c +++ b/src/flash/avrf.c @@ -247,13 +247,13 @@ static int avrf_flash_bank_command(struct command_context_s *cmd_ctx, char *cmd, static int avrf_erase(struct flash_bank_s *bank, int first, int last) { - LOG_INFO(__FUNCTION__); + LOG_INFO("%s", __FUNCTION__); return ERROR_OK; } static int avrf_protect(struct flash_bank_s *bank, int set, int first, int last) { - LOG_INFO(__FUNCTION__); + LOG_INFO("%s", __FUNCTION__); return ERROR_OK; } @@ -386,7 +386,7 @@ static int avrf_auto_probe(struct flash_bank_s *bank) static int avrf_protect_check(struct flash_bank_s *bank) { - LOG_INFO(__FUNCTION__); + LOG_INFO("%s", __FUNCTION__); return ERROR_OK; } @@ -495,6 +495,6 @@ static int avrf_handle_mass_erase_command(struct command_context_s *cmd_ctx, cha command_print(cmd_ctx, "avr mass erase failed"); } - LOG_DEBUG(__FUNCTION__); + LOG_DEBUG("%s", __FUNCTION__); return ERROR_OK; } |