summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/open_disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libdisk/open_disk.c')
-rw-r--r--lib/libdisk/open_disk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libdisk/open_disk.c b/lib/libdisk/open_disk.c
index 6ffe88d..6cc9acb 100644
--- a/lib/libdisk/open_disk.c
+++ b/lib/libdisk/open_disk.c
@@ -127,6 +127,9 @@ Int_Open_Disk(const char *name, char *conftxt)
name, a, b, line);
}
+ /* Sanitize the parameters. */
+ Sanitize_Bios_Geom(d);
+
/*
* Calculate the number of cylinders this disk must have. If we have
* an obvious insanity, we set the number of cylinders to zero.
OpenPOWER on IntegriCloud