diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-04-14 00:11:46 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-04-14 00:11:46 +0000 |
commit | 7c24c568652099d54183ff75ebb1a488fdffa324 (patch) | |
tree | f50bd3be19c79bb2fe1e33e6b35ed4867c6a3145 /sys/netinet/ip_ipip.c | |
parent | 86179bdf03c8c11768675d334584b4e202c05e79 (diff) |
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