svn commit: r226908 - head/sbin/fdisk

John-Mark Gurney jmg at FreeBSD.org
Sat Oct 29 17:30:58 UTC 2011


Author: jmg
Date: Sat Oct 29 17:30:57 2011
New Revision: 226908
URL: http://svn.freebsd.org/changeset/base/226908

Log:
  remove trailing whitespace...
  
  MFC after:	1 week

Modified:
  head/sbin/fdisk/fdisk.c

Modified: head/sbin/fdisk/fdisk.c
==============================================================================
--- head/sbin/fdisk/fdisk.c	Sat Oct 29 17:28:59 2011	(r226907)
+++ head/sbin/fdisk/fdisk.c	Sat Oct 29 17:30:57 2011	(r226908)
@@ -487,7 +487,7 @@ print_part(const struct dos_partition *p
 	    get_type(partp->dp_typ));
 	printf("    start %lu, size %lu (%ju Meg), flag %x%s\n",
 		(u_long)partp->dp_start,
-		(u_long)partp->dp_size, 
+		(u_long)partp->dp_size,
 		(uintmax_t)part_mb,
 		partp->dp_flag,
 		partp->dp_flag == ACTIVE ? " (active)" : "");
@@ -892,7 +892,7 @@ write_s0()
 		dos_partition_enc(&mboot.bootinst[DOSPARTOFF + i * DOSPARTSIZE],
 		    &mboot.parts[i]);
 	le16enc(&mboot.bootinst[DOSMAGICOFFSET], DOSMAGIC);
-	for(sector = 0; sector < mboot.bootinst_size / secsize; sector++) 
+	for(sector = 0; sector < mboot.bootinst_size / secsize; sector++)
 		if (write_disk(sector,
 			       &mboot.bootinst[sector * secsize]) == -1) {
 			warn("can't write fdisk partition table");
@@ -1113,7 +1113,7 @@ str2sectors(const char *str)
 		return NO_DISK_SECTORS;
 	}
 
-	if (*end == 'K') 
+	if (*end == 'K')
 		val *= 1024UL / secsize;
 	else if (*end == 'M')
 		val *= 1024UL * 1024UL / secsize;


More information about the svn-src-all mailing list