Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Sep 2017 07:37:42 +0000 (UTC)
From:      Toomas Soome <tsoome@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r323907 - head/sys/boot/efi/libefi
Message-ID:  <201709220737.v8M7bgqw005362@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tsoome
Date: Fri Sep 22 07:37:42 2017
New Revision: 323907
URL: https://svnweb.freebsd.org/changeset/base/323907

Log:
  libefi: efipart.c cstyle fix for efipart_print_common()
  
  The else statement should have { }

Modified:
  head/sys/boot/efi/libefi/efipart.c

Modified: head/sys/boot/efi/libefi/efipart.c
==============================================================================
--- head/sys/boot/efi/libefi/efipart.c	Fri Sep 22 07:34:08 2017	(r323906)
+++ head/sys/boot/efi/libefi/efipart.c	Fri Sep 22 07:37:42 2017	(r323907)
@@ -632,8 +632,9 @@ efipart_print_common(struct devsw *dev, pdinfo_list_t 
 			if (blkio->Media->MediaPresent) {
 				if (blkio->Media->RemovableMedia)
 					printf(" (removable)");
-			} else
+			} else {
 				printf(" (no media)");
+			}
 			if ((ret = pager_output("\n")) != 0)
 				break;
 			if (!blkio->Media->MediaPresent)



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