cvs commit: src/sys/boot/arm/at91/boot2 boot2.c
Warner Losh
imp at FreeBSD.org
Wed Mar 28 21:18:45 UTC 2007
imp 2007-03-28 21:18:45 UTC
FreeBSD src repository
Modified files:
sys/boot/arm/at91/boot2 boot2.c
Log:
Various buglets fixed (from submitter):
The changes to getstr() is so that the character that is
passed in to it, is also processed just as the rest. I also
removed one of the getc() calls otherwise you loose every
second character.
I also changed the strcpy of kname, so that it only happens if
kname is '\0'. This is so that one can pass a kernel in
through /boot.config.
The last change to boot2.c is in parse(). If you tried to type
a kernel name to boot, the first character was lost, the arg--
fix that.
Submitted by: jhay
Revision Changes Path
1.4 +7 -6 src/sys/boot/arm/at91/boot2/boot2.c
More information about the cvs-src
mailing list