diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-10-22 11:55:27 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-10-22 11:55:27 +0000 |
commit | 374ec39bb6a22bafde2752cfbaf40d1e809d6adb (patch) | |
tree | 7056f347140ee8087e5f8f7ba537a2566fa7ff3d | |
parent | a50c83e35c217e3de9d6ab033f632357713f63fd (diff) |
Notes
-rw-r--r-- | lib/libdisk/change.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/libdisk/change.c b/lib/libdisk/change.c index 816f31f97800..77885342ccd5 100644 --- a/lib/libdisk/change.c +++ b/lib/libdisk/change.c @@ -81,6 +81,13 @@ void All_FreeBSD(struct disk *d, int force_all) { struct chunk *c; + int type; + +#ifdef PC98 + type = 0x494; +#else + type = 0xa5; +#endif again: for (c = d->chunks->part; c; c = c->next) @@ -91,10 +98,10 @@ All_FreeBSD(struct disk *d, int force_all) c = d->chunks; if (force_all) { Sanitize_Bios_Geom(d); - Create_Chunk(d, c->offset, c->size, freebsd, 0x494, + Create_Chunk(d, c->offset, c->size, freebsd, type, CHUNK_FORCE_ALL, "FreeBSD"); } else { - Create_Chunk(d, c->offset, c->size, freebsd, 0x494, 0, + Create_Chunk(d, c->offset, c->size, freebsd, type, 0, "FreeBSD"); } } |