svn commit: r323907 - head/sys/boot/efi/libefi

Toomas Soome tsoome at FreeBSD.org
Fri Sep 22 07:37:44 UTC 2017


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)


More information about the svn-src-all mailing list