Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Aug 2011 08:47:38 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r225168 - head/usr.sbin/mfiutil
Message-ID:  <201108250847.p7P8lcNb094789@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 	}



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