libsa/rarp.c: Change casted type and printf format
Change the casted type and printf format string to avoid compilation failure when RARP_DEBUG macro is defined. Reviewed by: imp Obtained from: Semihalf Differential Revision: https://reviews.freebsd.org/D36738
This commit is contained in:
parent
1ed7916188
commit
ee0d06faa0
@ -83,7 +83,7 @@ rarp_getipaddress(int sock)
|
||||
}
|
||||
#ifdef RARP_DEBUG
|
||||
if (debug)
|
||||
printf("rarp: d=%x\n", (u_int)d);
|
||||
printf("rarp: d=%lx\n", (long)d);
|
||||
#endif
|
||||
|
||||
bzero((char*)&wbuf.data, sizeof(wbuf.data));
|
||||
|
Loading…
x
Reference in New Issue
Block a user