diff options
author | phk <phk@FreeBSD.org> | 1999-08-06 20:29:46 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-08-06 20:29:46 +0000 |
commit | 1ca34236ddb24ace89032bec18edb352c92d875c (patch) | |
tree | f8dd685c1117902d8ccd0f74d9a6cf4e94cc3916 /sys | |
parent | 8229df47c3e2374322058e43333045e6fe030427 (diff) | |
download | FreeBSD-src-1ca34236ddb24ace89032bec18edb352c92d875c.zip FreeBSD-src-1ca34236ddb24ace89032bec18edb352c92d875c.tar.gz |
Forgot the "bsd" slice, now setrootbyname() understands "wd0s1a".
Diffstat (limited to 'sys')
-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 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') { diff --git a/sys/i386/i386/autoconf.c b/sys/i386/i386/autoconf.c index 966cc22..6e2b68a 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.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') { |