mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
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)) {
|
||||
#ifdef RARP_DEBUG
|
||||
if (debug)
|
||||
printf("bad len=%d\n", n);
|
||||
printf("bad len=%zd\n", n);
|
||||
#endif
|
||||
free(ptr);
|
||||
return (-1);
|
||||
|
|
Loading…
Reference in a new issue