summaryrefslogtreecommitdiff
path: root/lib/libdisk/disk.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-10-22 10:51:58 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-10-22 10:51:58 +0000
commit1e08b0a6376efef74dbc8975e4c6cf9267d0ecf6 (patch)
tree26f0bd91bd85cfd83899ea119406ae967380a962 /lib/libdisk/disk.c
parentcf8cc48964d25a35df38eb280057a38b0d87bffe (diff)
Notes
Diffstat (limited to 'lib/libdisk/disk.c')
-rw-r--r--lib/libdisk/disk.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c
index 3f83f2aab726..0ea8f339bb8c 100644
--- a/lib/libdisk/disk.c
+++ b/lib/libdisk/disk.c
@@ -624,11 +624,7 @@ Int_Open_Disk(const char *name, u_long size)
if (dl.d_ntracks && dl.d_nsectors)
d->bios_cyl = size / (dl.d_ntracks * dl.d_nsectors);
-#ifdef PC98
if (Add_Chunk(d, 0, size, name, whole, 0, 0, "-"))
-#else
- if (Add_Chunk(d, 0, size, name, whole, 0, 0))
-#endif
DPRINT(("Failed to add 'whole' chunk"));
#ifdef __i386__
@@ -699,7 +695,7 @@ Int_Open_Disk(const char *name, u_long size)
ds.dss_slices[i].ds_name))
#else
if (Add_Chunk(d, ds.dss_slices[i].ds_offset,
- ds.dss_slices[i].ds_size, sname, ce, subtype, flags))
+ ds.dss_slices[i].ds_size, sname, ce, subtype, flags, ""))
#endif
DPRINT(("failed to add chunk for slice %d", i - 1));
@@ -762,7 +758,7 @@ Int_Open_Disk(const char *name, u_long size)
0,
ds.dss_slices[i].ds_name) && j != 3)
#else
- 0) && j != 3)
+ 0, "") && j != 3)
#endif
DPRINT((
"Failed to add chunk for partition %c [%lu,%lu]",