aboutsummaryrefslogtreecommitdiff
path: root/lib/libdisk/open_disk.c
diff options
context:
space:
mode:
authorUlf Lilleengen <lulf@FreeBSD.org>2009-02-09 21:34:06 +0000
committerUlf Lilleengen <lulf@FreeBSD.org>2009-02-09 21:34:06 +0000
commit043767b12349803c94bdf605d2d8a6fe234be2af (patch)
tree7b187ab49415306d51583214d401f086a551e3ed /lib/libdisk/open_disk.c
parent4ad0d60bb865b90d8ca7bc2d45f82cfd507d9e65 (diff)
Notes
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 6ffe88d61a4e..6cc9acb04692 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.