From owner-cvs-sys Mon Mar 9 00:59:22 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA23724 for cvs-sys-outgoing; Mon, 9 Mar 1998 00:59:22 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA23300; Mon, 9 Mar 1998 00:57:45 -0800 (PST) (envelope-from msmith@FreeBSD.org) From: Michael Smith Received: (from msmith@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id AAA07409; Mon, 9 Mar 1998 00:04:15 -0800 (PST) Date: Mon, 9 Mar 1998 00:04:15 -0800 (PST) Message-Id: <199803090804.AAA07409@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 autoconf.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk msmith 1998/03/09 00:04:14 PST Modified files: (Branch: RELENG_2_2) sys/i386/i386 autoconf.c Log: The bootblock passes the slice value in as 1 (WHOLE_DISK_SLICE) when booting a dedicated disk, not 0. Deal with this by range-checking for a sane slice number. Revision Changes Path 1.56.2.10 +4 -1 src/sys/i386/i386/autoconf.c