Fix build.
Pointy hat to: glebius
This commit is contained in:
parent
2764a2784f
commit
37968927c8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user