diff options
Diffstat (limited to 'lib/libdisk')
-rw-r--r-- | lib/libdisk/open_disk.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/lib/libdisk/open_disk.c b/lib/libdisk/open_disk.c index 90d1bf7..8a8229b4 100644 --- a/lib/libdisk/open_disk.c +++ b/lib/libdisk/open_disk.c @@ -257,20 +257,10 @@ Int_Open_Disk(const char *name, char *conftxt) } } else if (!strcmp(t, "GPT")) i = Add_Chunk(d, off, len, n, ty, 0, 0, 0); - else if (!strcmp(t, "BDE")) - ; /* nothing */ - else if (!strcmp(t, "CCD")) - ; /* nothing */ else if (!strcmp(t, "APPLE")) i = Add_Chunk(d, off, len, n, apple, 0, 0, sn); - else if (!strcmp(t, "STRIPE")) - ; /* nothing */ - else if (strstr(t, "VINUM") != NULL) - ; /* nothing */ - else { - printf("BARF %d\n", __LINE__); - exit(0); - } + else + ; /* Ignore unknown classes. */ } /* PLATFORM POLICY BEGIN ------------------------------------- */ /* We have a chance to do things on a blank disk here */ |