diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-14 07:21:19 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-14 07:21:19 +0000 |
| commit | a67ed623d0a731bf8c14db5627c12d2c217b43ac (patch) | |
| tree | 7de72cc340bb7c22200d8a9fadd82e06b0e811ee /sbin/fdisk | |
| parent | 59e472e95297a5c14b760eb76f5b5382e87350bc (diff) | |
Notes
Diffstat (limited to 'sbin/fdisk')
| -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 6caee7d44e78..4cb9dc07cd77 100644 --- a/sbin/fdisk/fdisk.c +++ b/sbin/fdisk/fdisk.c @@ -508,7 +508,7 @@ init_boot(void) static void init_sector0(unsigned long start) { - struct dos_partition *partp = (struct dos_partition *) (&mboot.parts[3]); + struct dos_partition *partp = (struct dos_partition *) (&mboot.parts[0]); init_boot(); @@ -536,9 +536,9 @@ change_part(int i) if (i_flag) { bzero((char *)partp, sizeof (struct dos_partition)); - if (i == 4) { + if (i == 1) { init_sector0(1); - printf("\nThe static data for the DOS partition 4 has been reinitialized to:\n"); + printf("\nThe static data for the slice 1 has been reinitialized to:\n"); print_part(i); } } |
