From owner-cvs-all@FreeBSD.ORG Wed Mar 28 21:18:45 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7ADBE16A405; Wed, 28 Mar 2007 21:18:45 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 6D7CB13C45D; Wed, 28 Mar 2007 21:18:45 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l2SLIjSn045115; Wed, 28 Mar 2007 21:18:45 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l2SLIjjF045114; Wed, 28 Mar 2007 21:18:45 GMT (envelope-from imp) Message-Id: <200703282118.l2SLIjjF045114@repoman.freebsd.org> From: Warner Losh Date: Wed, 28 Mar 2007 21:18:45 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/boot/arm/at91/boot2 boot2.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Mar 2007 21:18:45 -0000 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