9
0
Fork 0

netx: fix printf compiler warnings

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2011-01-07 11:37:02 +01:00
parent 63100f4e15
commit 1cb13c2580
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ static int xc_check_ptr(int xcno, unsigned long adr, unsigned int size)
adr + size < NETX_PA_XPEC(xcno) + XPEC_MEM_SIZE)
return 0;
printf("%s: illegal pointer %p\n",__FUNCTION__,adr);
printf("%s: illegal pointer 0x%08lx\n", __func__ ,adr);
return -1;
}