diff options
author | 2009-05-13 01:31:58 +0000 | |
---|---|---|
committer | 2009-05-13 01:31:58 +0000 | |
commit | 6ab0bb66ea3340da5deebd6f15931db6f09bb9eb (patch) | |
tree | bc8501beb1d68dfee6ca62e95213e321cc2a9031 /sys/dev/pci/sili_pci.c | |
parent | initialize d_npartitions to MAXPARTITIONS always; ok krw (diff) | |
download | wireguard-openbsd-6ab0bb66ea3340da5deebd6f15931db6f09bb9eb.tar.xz wireguard-openbsd-6ab0bb66ea3340da5deebd6f15931db6f09bb9eb.zip |
Set D_VENDOR when spoofing a label on archs that use D_VENDOR when
reading the native disklabel. This ensures cylinder alignment.
Fix disklabel to do cylinder alignment arithmetic correctly in -A
mode. Worked by accident before, since the code was protected by
D_VENDOR, which wasn't being set.
ok deraadt@
Diffstat (limited to 'sys/dev/pci/sili_pci.c')
0 files changed, 0 insertions, 0 deletions