|
From: oharboe at B. <oh...@ma...> - 2009-06-19 11:09:26
|
Author: oharboe
Date: 2009-06-19 11:09:25 +0200 (Fri, 19 Jun 2009)
New Revision: 2291
Modified:
trunk/src/ecosboard.c
Log:
less warnings
Modified: trunk/src/ecosboard.c
===================================================================
--- trunk/src/ecosboard.c 2009-06-19 08:18:36 UTC (rev 2290)
+++ trunk/src/ecosboard.c 2009-06-19 09:09:25 UTC (rev 2291)
@@ -148,7 +148,6 @@
}
#endif
-extern int eth0_up;
static FILE *log;
static char reboot_stack[2048];
@@ -305,7 +304,7 @@
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();
}
|