diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 2003-11-02 08:07:25 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2003-11-02 08:07:25 +0000 |
| commit | 78cb7a7cd056161d24214f5912afb6b943a8892e (patch) | |
| tree | 76f8f570e96cddd672c733b1774622e6e92060b2 | |
| parent | c0c0907820f6cbb2f8c7888cd4b6e3590b803f8c (diff) | |
Notes
| -rw-r--r-- | lib/libdisk/write_disk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libdisk/write_disk.c b/lib/libdisk/write_disk.c index 8c2aa54bcffef..024981beff239 100644 --- a/lib/libdisk/write_disk.c +++ b/lib/libdisk/write_disk.c @@ -54,9 +54,11 @@ Fill_Disklabel(struct disklabel *dl, const struct disk *new, dl->d_secsize = 512; dl->d_secperunit = new->chunks->size; +#ifndef __ia64__ dl->d_ncylinders = new->bios_cyl; dl->d_ntracks = new->bios_hd; dl->d_nsectors = new->bios_sect; +#endif dl->d_secpercyl = dl->d_ntracks * dl->d_nsectors; dl->d_npartitions = MAXPARTITIONS; |
