svn commit: r225168 - head/usr.sbin/mfiutil

Bjoern A. Zeeb bz at FreeBSD.org
Thu Aug 25 08:47:38 UTC 2011


Author: bz
Date: Thu Aug 25 08:47:38 2011
New Revision: 225168
URL: http://svn.freebsd.org/changeset/base/225168

Log:
  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.
  
  Submitted by:	Mark Johnston at Sandvine Inc
  MFC atfer:	3 days
  Approved by:	re (kib)

Modified:
  head/usr.sbin/mfiutil/mfi_show.c

Modified: head/usr.sbin/mfiutil/mfi_show.c
==============================================================================
--- head/usr.sbin/mfiutil/mfi_show.c	Thu Aug 25 08:35:09 2011	(r225167)
+++ head/usr.sbin/mfiutil/mfi_show.c	Thu Aug 25 08:47:38 2011	(r225168)
@@ -330,8 +330,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-head mailing list