ports/net/ladvd/files/patch-ifdescr-semicolon
Wen Heping 09217780f8 - Fix the build error reported by QAT@
PR:		ports/146809
Submitted by:	Sten Spans <sten@blinkenlights.nl> (maintainer)
2010-05-22 08:51:00 +00:00

11 lines
381 B
Text

--- src/netif.c.orig 2010-05-21 23:59:23.000000000 +0200
+++ src/netif.c 2010-05-21 23:59:36.000000000 +0200
@@ -264,7 +264,7 @@
#ifndef __FreeBSD__
ifr.ifr_data = (caddr_t)&netif->description;
#else
- ifr.ifr_buffer.buffer = &netif->description
+ ifr.ifr_buffer.buffer = &netif->description;
ifr.ifr_buffer.length = IFDESCRSIZE;
#endif
ioctl(sockfd, SIOCGIFDESCR, &ifr);