Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 May 2012 22:06:32 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r235700 - stable/9/usr.sbin/jls
Message-ID:  <201205202206.q4KM6W9E019544@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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++) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205202206.q4KM6W9E019544>