diff options
author | 2001-04-14 00:11:40 +0000 | |
---|---|---|
committer | 2001-04-14 00:11:40 +0000 | |
commit | 509a3b5fbe35b6a52661c4a77af57f52002f2f65 (patch) | |
tree | 9b230a1fe4e39fb80840bb6429c41ea27776c8b0 /sys/netinet/ip_ipip.c | |
parent | Remove defopt; aaron@ ok. (diff) | |
download | wireguard-openbsd-509a3b5fbe35b6a52661c4a77af57f52002f2f65.tar.xz wireguard-openbsd-509a3b5fbe35b6a52661c4a77af57f52002f2f65.zip |
Correctly initialize disklabel structure in readdisklabel().
Prevents kernel from panic'ing or disklabel(1) from faulting with
an empty (never labaled) disk.
Also, use LABELSECTOR instead of hardwired constant.
Tested by deraadt@ on mvme68k and myself on mvme88k, deraadt@ ok
Diffstat (limited to 'sys/netinet/ip_ipip.c')
0 files changed, 0 insertions, 0 deletions