diff --git a/drivers/net/mmnif.c b/drivers/net/mmnif.c index 2d9beffa..c3074f6d 100644 --- a/drivers/net/mmnif.c +++ b/drivers/net/mmnif.c @@ -40,9 +40,9 @@ extern HANDLE remote_process_event; extern HANDLE hProc; -#define DEBUGPRINTF(x,...) printf(x,__VA_ARGS__) +#define DEBUGPRINTF(x,...) printf(x,__VA_ARGS__) #else -#define DEBUGPRINTF(x,...) kprintf(x,__VA_ARGS__) +#define DEBUGPRINTF(x,...) kprintf(x,##__VA_ARGS__) #endif @@ -169,7 +169,8 @@ __inline int get_my_core_no(void) __inline int get_my_core_no(void) { unsigned int tmp; - unsigend int pid; + unsigned int pid; + unsigned int x,y,z; /* Determine the local IP address from the core number in the * tile ID register */ @@ -638,6 +639,7 @@ static void mmnif_rx(struct netif* netif) * has to be worked on */ + #ifdef DEBUG_MMNIF DEBUGPRINTF("\n RECIEVED - 0x%.8X\n",data + pos); hex_dump(length+2,data + pos); diff --git a/newlib/src/configure b/newlib/src/configure old mode 100644 new mode 100755