svn commit: r235700 - stable/9/usr.sbin/jls

Bjoern A. Zeeb bz at FreeBSD.org
Sun May 20 22:06:32 UTC 2012


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++) {


More information about the svn-src-stable mailing list