Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Nov 2010 21:22:20 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r215591 - stable/8/sys/netinet
Message-ID:  <201011202122.oAKLMK1n026403@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Sat Nov 20 21:22:20 2010
New Revision: 215591
URL: http://svn.freebsd.org/changeset/base/215591

Log:
  MFC r215199:
  Don't print an empty line when printing mapping arrays.

Modified:
  stable/8/sys/netinet/sctputil.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/netinet/sctputil.c
==============================================================================
--- stable/8/sys/netinet/sctputil.c	Sat Nov 20 21:20:39 2010	(r215590)
+++ stable/8/sys/netinet/sctputil.c	Sat Nov 20 21:22:20 2010	(r215591)
@@ -1212,8 +1212,6 @@ sctp_print_mapping_array(struct sctp_ass
 	printf("Renegable mapping array (last %d entries are zero):\n", asoc->mapping_array_size - limit);
 	for (i = 0; i < limit; i++) {
 		printf("%2.2x%c", asoc->mapping_array[i], ((i + 1) % 16) ? ' ' : '\n');
-		if (((i + 1) % 16) == 0)
-			printf("\n");
 	}
 	if (limit % 16)
 		printf("\n");



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