Author: bz
Date: Sun May 20 22:06:32 2012
New Revision: 235700
URL: http://svn.freebsd.org/changeset/base/235700

Log:
  MFC r232613:
  
   Fix building with WITHOUT_INET_SUPPORT set.
  
   Reviewed by: jamie (actually provided the real fix)

Modified:
  stable/9/usr.sbin/jls/jls.c
Directory Properties:
  stable/9/usr.sbin/jls/   (props changed)

Modified: stable/9/usr.sbin/jls/jls.c
==============================================================================
--- stable/9/usr.sbin/jls/jls.c Sun May 20 21:05:51 2012        (r235699)
+++ stable/9/usr.sbin/jls/jls.c Sun May 20 22:06:32 2012        (r235700)
@@ -403,11 +403,13 @@ print_jail(int pflags, int jflags)
 #ifdef INET
                    (!ip4_ok || params[1].jp_valuelen == 0) ? "-"
                    : inet_ntoa(*(struct in_addr *)params[1].jp_value),
+                   (char *)params[2-!ip4_ok].jp_value,
+                   (char *)params[3-!ip4_ok].jp_value);
 #else
                    "-",
+                   (char *)params[1].jp_value,
+                   (char *)params[2].jp_value);
 #endif
-                   (char *)params[2-!ip4_ok].jp_value,
-                   (char *)params[3-!ip4_ok].jp_value);
        else {
                param_values = alloca(nparams * sizeof(*param_values));
                for (i = 0; i < nparams; i++) {
_______________________________________________
svn-src-stable-9@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "svn-src-stable-9-unsubscr...@freebsd.org"

Reply via email to