libsa/rarp.c: Change printf format string
Change 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/D36739
This commit is contained in:
parent
10d872339a
commit
1ed7916188
@ -161,7 +161,7 @@ rarprecv(struct iodesc *d, void **pkt, void **payload, time_t tleft,
|
|||||||
if (n == -1 || n < sizeof(struct ether_arp)) {
|
if (n == -1 || n < sizeof(struct ether_arp)) {
|
||||||
#ifdef RARP_DEBUG
|
#ifdef RARP_DEBUG
|
||||||
if (debug)
|
if (debug)
|
||||||
printf("bad len=%d\n", n);
|
printf("bad len=%zd\n", n);
|
||||||
#endif
|
#endif
|
||||||
free(ptr);
|
free(ptr);
|
||||||
return (-1);
|
return (-1);
|
||||||
|
Loading…
Reference in New Issue
Block a user