svn commit: r227295 - head/sbin/fdisk

Andrey V. Elsukov ae at FreeBSD.org
Mon Nov 7 07:50:36 UTC 2011


Author: ae
Date: Mon Nov  7 07:50:35 2011
New Revision: 227295
URL: http://svn.freebsd.org/changeset/base/227295

Log:
  Fix multi-line comment formatting.
  
  Pointed by:	jh
  MFC after:	1 week

Modified:
  head/sbin/fdisk/fdisk.c

Modified: head/sbin/fdisk/fdisk.c
==============================================================================
--- head/sbin/fdisk/fdisk.c	Mon Nov  7 07:09:38 2011	(r227294)
+++ head/sbin/fdisk/fdisk.c	Mon Nov  7 07:50:35 2011	(r227295)
@@ -822,7 +822,8 @@ write_disk(off_t sector, void *buf)
 			warnx("GEOM_MBR: %s", errmsg);
 		gctl_free(grq);
 	} else {
-		/* Try to write MBR directly. This may help when disk
+		/*
+		 * Try to write MBR directly. This may help when disk
 		 * is not in use.
 		 * XXX: hardcoded sectorsize
 		 */
@@ -831,7 +832,8 @@ write_disk(off_t sector, void *buf)
 			return (0);
 	}
 
-	/* GEOM_MBR is not available or failed to write MBR.
+	/*
+	 * GEOM_MBR is not available or failed to write MBR.
 	 * Now check that we have GEOM_PART and recommend to use gpart (8).
 	 */
 	if (geom_class_available("PART") != 0)


More information about the svn-src-head mailing list