freebsd-skq/sys/boot/i386
John Baldwin ea6ed0ba9f Fix boot2 to handle boot config files that only contain a custom path to
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
2012-03-05 19:53:17 +00:00
..
boot0
boot0ext
boot0sio
boot2 Fix boot2 to handle boot config files that only contain a custom path to 2012-03-05 19:53:17 +00:00
btx
cdboot
common
efi
gptboot
gptzfsboot
kgzldr
libfirewire
libi386 Fix a long standing bug. The caller expects a non-zero value for success. 2012-02-29 18:11:33 +00:00
loader
mbr
pmbr
pxeldr
zfsboot
zfsloader
Makefile
Makefile.inc