From 1ca34236ddb24ace89032bec18edb352c92d875c Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 6 Aug 1999 20:29:46 +0000 Subject: Forgot the "bsd" slice, now setrootbyname() understands "wd0s1a". --- sys/amd64/amd64/autoconf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/amd64') 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') { -- cgit v1.1