summaryrefslogtreecommitdiffstats
path: root/sys/security/mac/mac_framework.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2002-11-03 01:37:08 +0000
committermarcel <marcel@FreeBSD.org>2002-11-03 01:37:08 +0000
commitc9f86b731d744756f510247ea7f52517bc88c0c1 (patch)
tree248aa00e829c7a9df6ab76a630fb26cf12c0e440 /sys/security/mac/mac_framework.c
parent02575bafa7d27ede2d0ed3b05d481df92b74b89c (diff)
downloadFreeBSD-src-c9f86b731d744756f510247ea7f52517bc88c0c1.zip
FreeBSD-src-c9f86b731d744756f510247ea7f52517bc88c0c1.tar.gz
Initialize d->bios_cyl. We know the media size in sectors, the number
of heads end the number of sectors per track. If there's an obvious insanity (heads and sectors are both zero or the media size is not an integral multiple of heads times sector) we set the number of cylinders to zero.
Diffstat (limited to 'sys/security/mac/mac_framework.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud