Received: by mail.netbsd.org (Postfix, from userid 605) id 4E0CC14A15B; Mon, 30 Jan 2012 04:25:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id F3FF814A151 for ; Mon, 30 Jan 2012 04:25:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id vwUFwXBO-T4t for ; Mon, 30 Jan 2012 04:25:15 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 4C6FA14A142 for ; Mon, 30 Jan 2012 04:25:15 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 84D08175DD; Mon, 30 Jan 2012 04:25:15 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Mon, 30 Jan 2012 04:25:15 +0000 From: "matthew green" Subject: CVS commit: src/sys/arch To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20120130042515.84D08175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "matthew green" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: mrg Date: Mon Jan 30 04:25:15 UTC 2012 Modified Files: src/sys/arch/sparc/dev: ebus.c sbus.c src/sys/arch/sparc64/dev: ebus.c sbus.c Log Message: avoid writing 1 byte beyond the end of the string promlib.c has given us. instead of forcing a nul byte afterwards, KASSERT() that the final byte already is a nul. if there are broken proms... well, we can fix them. this, plus one more change, allows my SS20 to boot multiuser. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/arch/sparc/dev/ebus.c cvs rdiff -u -r1.75 -r1.76 src/sys/arch/sparc/dev/sbus.c cvs rdiff -u -r1.59 -r1.60 src/sys/arch/sparc64/dev/ebus.c cvs rdiff -u -r1.92 -r1.93 src/sys/arch/sparc64/dev/sbus.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.