diff options
| author | Mike Smith <msmith@FreeBSD.org> | 1998-03-09 08:35:33 +0000 |
|---|---|---|
| committer | Mike Smith <msmith@FreeBSD.org> | 1998-03-09 08:35:33 +0000 |
| commit | 72928bdadbaf916acc82f46d7b5f565f4093b877 (patch) | |
| tree | 48d3410a366e70687fbafe430765eb1d65a61e33 | |
| parent | 34ef5a9d25b498a1c0c901fa235889fe1ddf4695 (diff) | |
Notes
| -rw-r--r-- | sys/amd64/amd64/autoconf.c | 4 | ||||
| -rw-r--r-- | sys/i386/i386/autoconf.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/amd64/autoconf.c b/sys/amd64/amd64/autoconf.c index 665ddc9927e2..dfca0522fa36 100644 --- a/sys/amd64/amd64/autoconf.c +++ b/sys/amd64/amd64/autoconf.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91 - * $Id: autoconf.c,v 1.86 1998/03/08 15:06:55 msmith Exp $ + * $Id: autoconf.c,v 1.87 1998/03/09 08:10:21 msmith Exp $ */ /* @@ -456,7 +456,7 @@ setroot() unit = B_UNIT(bootdev); slice = B_SLICE(bootdev); if ((slice < BASE_SLICE) || (slice > MAX_SLICES)) - slice = 0; + slice = BASE_SLICE; if (majdev > sizeof(devname) / sizeof(devname[0])) return; if (majdev == FDMAJOR) { diff --git a/sys/i386/i386/autoconf.c b/sys/i386/i386/autoconf.c index 665ddc9927e2..dfca0522fa36 100644 --- a/sys/i386/i386/autoconf.c +++ b/sys/i386/i386/autoconf.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91 - * $Id: autoconf.c,v 1.86 1998/03/08 15:06:55 msmith Exp $ + * $Id: autoconf.c,v 1.87 1998/03/09 08:10:21 msmith Exp $ */ /* @@ -456,7 +456,7 @@ setroot() unit = B_UNIT(bootdev); slice = B_SLICE(bootdev); if ((slice < BASE_SLICE) || (slice > MAX_SLICES)) - slice = 0; + slice = BASE_SLICE; if (majdev > sizeof(devname) / sizeof(devname[0])) return; if (majdev == FDMAJOR) { |
