diff options
author | obrien <obrien@FreeBSD.org> | 2000-11-18 02:55:43 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-11-18 02:55:43 +0000 |
commit | 463fa1112a519653d3fc6a04afc90a7e8790fdce (patch) | |
tree | 2e99438856c5e57aa62a5782b90cd599cf93cffc /sbin/i386 | |
parent | d1e0950f7e70c0eb7a93ac58503f1e89ff6a51f5 (diff) | |
download | FreeBSD-src-463fa1112a519653d3fc6a04afc90a7e8790fdce.zip FreeBSD-src-463fa1112a519653d3fc6a04afc90a7e8790fdce.tar.gz |
Make the order of values prompted for with the "-i" option match print_part()
Diffstat (limited to 'sbin/i386')
-rw-r--r-- | sbin/i386/fdisk/fdisk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/i386/fdisk/fdisk.c b/sbin/i386/fdisk/fdisk.c index cdf7315..0cfe66a 100644 --- a/sbin/i386/fdisk/fdisk.c +++ b/sbin/i386/fdisk/fdisk.c @@ -562,8 +562,8 @@ struct dos_partition *partp = ((struct dos_partition *) &mboot.parts) + i - 1; thd = partp->dp_shd; tsec = DPSECT(partp->dp_ssect); Decimal("beginning cylinder", tcyl, tmp); - Decimal("beginning head", thd, tmp); Decimal("beginning sector", tsec, tmp); + Decimal("beginning head", thd, tmp); partp->dp_scyl = DOSCYL(tcyl); partp->dp_ssect = DOSSECT(tsec,tcyl); partp->dp_shd = thd; @@ -572,8 +572,8 @@ struct dos_partition *partp = ((struct dos_partition *) &mboot.parts) + i - 1; thd = partp->dp_ehd; tsec = DPSECT(partp->dp_esect); Decimal("ending cylinder", tcyl, tmp); - Decimal("ending head", thd, tmp); Decimal("ending sector", tsec, tmp); + Decimal("ending head", thd, tmp); partp->dp_ecyl = DOSCYL(tcyl); partp->dp_esect = DOSSECT(tsec,tcyl); partp->dp_ehd = thd; |