From: oharboe Date: Fri, 19 Jun 2009 09:09:25 +0000 (+0000) Subject: less warnings X-Git-Tag: v0.2.0~224 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=13e592f9f68de793bd6681fc8cb43091031cb7c0;p=openocd less warnings git-svn-id: svn://svn.berlios.de/openocd/trunk@2291 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/src/ecosboard.c b/src/ecosboard.c index d49abbd1..d6bb0a40 100644 --- a/src/ecosboard.c +++ b/src/ecosboard.c @@ -148,7 +148,6 @@ void start_profile(void) } #endif -extern int eth0_up; static FILE *log; static char reboot_stack[2048]; @@ -305,7 +304,7 @@ void format(void) err = cyg_io_get_config(handle, CYG_IO_GET_CONFIG_FLASH_ERASE, &e, &len); if (err != ENOERR) { - diag_printf("Flash erase error %d offset 0x%p\n", err, e.err_address); + diag_printf("Flash erase error %d offset 0x%08x\n", err, e.err_address); reboot(); }