summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-11-05 19:17:19 +0000
committerglebius <glebius@FreeBSD.org>2013-11-05 19:17:19 +0000
commitaf0db43f1ccee8de8a1586a64c1d461a764b627f (patch)
tree89fccde6ab8d87462bd351cdf6d0ee6dc8300256 /sys/compat
parent84531bbbc3c1fcbe82eee512033c5aa56d07a628 (diff)
downloadFreeBSD-src-af0db43f1ccee8de8a1586a64c1d461a764b627f.zip
FreeBSD-src-af0db43f1ccee8de8a1586a64c1d461a764b627f.tar.gz
Fix build.
Pointy hat to: glebius
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/svr4/svr4_sockio.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/sys/compat/svr4/svr4_sockio.c b/sys/compat/svr4/svr4_sockio.c
index e3d345c..6e10e3f 100644
--- a/sys/compat/svr4/svr4_sockio.c
+++ b/sys/compat/svr4/svr4_sockio.c
@@ -154,15 +154,16 @@ svr4_sock_ioctl(fp, td, retval, fd, cmd, data)
sc.svr4_ifc_len));
ifc = (struct ifconf *)&sc;
- ifc->ifc_req.ifr_addr.sa_family =
- sc.svr4_ifc_req.svr4_ifr_addr.sa_family;
- ifc->ifc_req.ifr_addr.sa_len = sizeof(struct osockaddr);
+ ifc->ifc_req->ifr_addr.sa_family =
+ sc.svr4_ifc_req->svr4_ifr_addr.sa_family;
+ ifc->ifc_req->ifr_addr.sa_len =
+ sizeof(struct osockaddr);
- error = fo_ioctl(fp, SIOCGIFCONF, &sc,
- td->td_ucred, td));
+ error = fo_ioctl(fp, SIOCGIFCONF, &sc, td->td_ucred,
+ td);
- sc.svr4_ifc_req.svr4_ifr_addr.sa_family =
- ifc->ifc_req.ifr_addr.sa_family;
+ sc.svr4_ifc_req->svr4_ifr_addr.sa_family =
+ ifc->ifc_req->ifr_addr.sa_family;
if (error != 0)
return error;
OpenPOWER on IntegriCloud