diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1995-12-07 10:34:59 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1995-12-07 10:34:59 +0000 |
| commit | 40b0c0d936b1fb9878b178e19028ab6a045fe8bc (patch) | |
| tree | 3d31cd880ab6a9af9ad3ab3c6313d70e1c542d60 /lib/libdisk/write_disk.c | |
| parent | cde694287a635a30da358e47c21ed4eff6e8d0e5 (diff) | |
Notes
Diffstat (limited to 'lib/libdisk/write_disk.c')
| -rw-r--r-- | lib/libdisk/write_disk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libdisk/write_disk.c b/lib/libdisk/write_disk.c index e745917e5bae..00b2946bcfd4 100644 --- a/lib/libdisk/write_disk.c +++ b/lib/libdisk/write_disk.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: write_disk.c,v 1.14 1995/06/11 19:29:38 rgrimes Exp $ + * $Id: write_disk.c,v 1.15 1995/08/26 04:57:03 davidg Exp $ * */ @@ -79,11 +79,11 @@ Write_FreeBSD(int fd, struct disk *new, struct disk *old, struct chunk *c1) dl->d_secsize = 512; dl->d_secperunit = new->chunks->size; #if 0 - dl->d_secpercyl = new->real_cyl ? new->real_cyl : new->bios_cyl; + dl->d_ncylinders = new->real_cyl ? new->real_cyl : new->bios_cyl; dl->d_ntracks = new->real_hd ? new->real_hd : new->bios_hd; dl->d_nsectors = new->real_sect ? new->real_sect : new->bios_sect; #else - dl->d_secpercyl = new->bios_cyl; + dl->d_ncylinders = new->bios_cyl; dl->d_ntracks = new->bios_hd; dl->d_nsectors = new->bios_sect; #endif |
