ea6ed0ba9f
a loader or kernel. Specifically, kname cannot be pointed at cmd[] since it's value is change to be an empty string after the initial call to parse, and cmd[]'s value can be changed (thus losing a prior setting for kname) due to user input at the boot prompt. While here, ensure that that initial boot config file text is nul-terminated, that ops is initialized to zero, and that kname is always initialized to a valid string. Tested by: Domagoj Smolcic rank1seeker of gmail MFC after: 1 week |
||
---|---|---|
.. | ||
boot0 | ||
boot0ext | ||
boot0sio | ||
boot2 | ||
btx | ||
cdboot | ||
common | ||
efi | ||
gptboot | ||
gptzfsboot | ||
kgzldr | ||
libfirewire | ||
libi386 | ||
loader | ||
mbr | ||
pmbr | ||
pxeldr | ||
zfsboot | ||
zfsloader | ||
Makefile | ||
Makefile.inc |