diff options
author | jmg <jmg@FreeBSD.org> | 2011-10-29 17:30:57 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 2011-10-29 17:30:57 +0000 |
commit | 78cd5e5ab034cf56926ebc66e1972a6eb0b07569 (patch) | |
tree | dfa794235837f633baf3c028c5d40f233b14de2d /sbin | |
parent | 1c5b4943520698d0267d05fb6b60a3ee8f6a5f86 (diff) | |
download | FreeBSD-src-78cd5e5ab034cf56926ebc66e1972a6eb0b07569.zip FreeBSD-src-78cd5e5ab034cf56926ebc66e1972a6eb0b07569.tar.gz |
remove trailing whitespace...
MFC after: 1 week
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/fdisk/fdisk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/fdisk/fdisk.c b/sbin/fdisk/fdisk.c index 49c5724..e3591be 100644 --- a/sbin/fdisk/fdisk.c +++ b/sbin/fdisk/fdisk.c @@ -487,7 +487,7 @@ print_part(const struct dos_partition *partp) 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; |