svn commit: r228534 - stable/8/usr.sbin/mfiutil

John Baldwin jhb at FreeBSD.org
Thu Dec 15 16:39:48 UTC 2011


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;
 	}


More information about the svn-src-stable-8 mailing list