diff options
-rw-r--r-- | sys/compat/svr4/svr4_sockio.c | 15 |
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 *)≻ - 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; |