summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-08-06 20:29:46 +0000
committerphk <phk@FreeBSD.org>1999-08-06 20:29:46 +0000
commit1ca34236ddb24ace89032bec18edb352c92d875c (patch)
treef8dd685c1117902d8ccd0f74d9a6cf4e94cc3916 /sys/amd64
parent8229df47c3e2374322058e43333045e6fe030427 (diff)
downloadFreeBSD-src-1ca34236ddb24ace89032bec18edb352c92d875c.zip
FreeBSD-src-1ca34236ddb24ace89032bec18edb352c92d875c.tar.gz
Forgot the "bsd" slice, now setrootbyname() understands "wd0s1a".
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/autoconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/autoconf.c b/sys/amd64/amd64/autoconf.c
index 966cc22..6e2b68a 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.128 1999/07/03 21:03:56 peter Exp $
+ * $Id: autoconf.c,v 1.129 1999/07/17 20:47:49 phk Exp $
*/
/*
@@ -486,7 +486,7 @@ gotit:
while (*cp >= '0' && *cp <= '9')
unit += 10 * unit + *cp++ - '0';
if (*cp == 's' && cp[1] >= '0' && cp[1] <= '9') {
- slice = cp[1] - '0';
+ slice = cp[1] - '0' + 1;
cp += 2;
}
if (*cp >= 'a' && *cp <= 'h') {
OpenPOWER on IntegriCloud