Author: glebius
Date: Tue Nov  5 19:17:19 2013
New Revision: 257713
URL: http://svnweb.freebsd.org/changeset/base/257713

Log:
  Fix build.
  
  Pointy hat to:        glebius

Modified:
  head/sys/compat/svr4/svr4_sockio.c

Modified: head/sys/compat/svr4/svr4_sockio.c
==============================================================================
--- head/sys/compat/svr4/svr4_sockio.c  Tue Nov  5 18:27:25 2013        
(r257712)
+++ head/sys/compat/svr4/svr4_sockio.c  Tue Nov  5 19:17:19 2013        
(r257713)
@@ -154,15 +154,16 @@ svr4_sock_ioctl(fp, td, retval, fd, cmd,
                                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;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to