Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Dec 2011 16:39:48 +0000 (UTC)
From:      John Baldwin <jhb@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: r228534 - stable/8/usr.sbin/mfiutil
Message-ID:  <201112151639.pBFGdmdq058117@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Thu Dec 15 16:39:48 2011
New Revision: 228534
URL: http://svn.freebsd.org/changeset/base/228534

Log:
  MFC 225168:
  If a drive is not part of the array (i.e. missing) we need to print the
  new line after the pd state information as well, so move it to the outside
  of the block.

Modified:
  stable/8/usr.sbin/mfiutil/mfi_show.c
Directory Properties:
  stable/8/usr.sbin/mfiutil/   (props changed)

Modified: stable/8/usr.sbin/mfiutil/mfi_show.c
==============================================================================
--- stable/8/usr.sbin/mfiutil/mfi_show.c	Thu Dec 15 15:17:19 2011	(r228533)
+++ stable/8/usr.sbin/mfiutil/mfi_show.c	Thu Dec 15 16:39:48 2011	(r228534)
@@ -335,8 +335,8 @@ show_config(int ac, char **av)
 					    mfi_pdstate(ar->pd[j].fw_state));
 				else
 					print_pd(&pinfo, -1);
-				printf("\n");
 			}
+			printf("\n");
 		}
 		p += config->array_size;
 	}



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