Date: Wed, 28 Mar 2007 21:18:45 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/arm/at91/boot2 boot2.c Message-ID: <200703282118.l2SLIjjF045114@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703282118.l2SLIjjF045114>
