From owner-svn-src-all@FreeBSD.ORG Thu Aug 25 08:47:38 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1627106566B; Thu, 25 Aug 2011 08:47:38 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A17898FC19; Thu, 25 Aug 2011 08:47:38 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p7P8lcUq094791; Thu, 25 Aug 2011 08:47:38 GMT (envelope-from bz@svn.freebsd.org) Received: (from bz@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p7P8lcNb094789; Thu, 25 Aug 2011 08:47:38 GMT (envelope-from bz@svn.freebsd.org) Message-Id: <201108250847.p7P8lcNb094789@svn.freebsd.org> From: "Bjoern A. Zeeb" Date: Thu, 25 Aug 2011 08:47:38 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r225168 - head/usr.sbin/mfiutil X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Aug 2011 08:47:38 -0000 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; }