]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Various buglets fixed (from submitter):
authorimp <imp@FreeBSD.org>
Wed, 28 Mar 2007 21:18:45 +0000 (21:18 +0000)
committerimp <imp@FreeBSD.org>
Wed, 28 Mar 2007 21:18:45 +0000 (21:18 +0000)
commitb5abcfde20bfc82de8c944f9bd7223dc4fcc3568
treed3d65ca5ef771aff7eb7e34493e3f2aacce01999
parent485d6cf39247045495c6b6a39db930507eb93273
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
sys/boot/arm/at91/boot2/boot2.c