diff options
author | iedowse <iedowse@FreeBSD.org> | 2002-08-10 00:20:32 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2002-08-10 00:20:32 +0000 |
commit | 29e0235abad01daf0522a8a4aa512149de4f06f2 (patch) | |
tree | 1e62fb0c8bd7b4c06083a5a7a7de7d0b2f171d0e /etc | |
parent | 38f3a61eda216ee1b1dbee108c57e70d7bacfe18 (diff) | |
download | FreeBSD-src-29e0235abad01daf0522a8a4aa512149de4f06f2.zip FreeBSD-src-29e0235abad01daf0522a8a4aa512149de4f06f2.tar.gz |
Permit the creation of just cd0 if desired. Previously it always
created cd1 as well due to an off-by-one error left over from
revision 1.249.
PR: conf/20436
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
MFC after: 1 week
Diffstat (limited to 'etc')
-rw-r--r-- | etc/MAKEDEV | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV index d8d2274..89e42c9 100644 --- a/etc/MAKEDEV +++ b/etc/MAKEDEV @@ -831,7 +831,7 @@ acd*|cd*|mcd*|scd*) scd*) units=`expr $i : '...\(.*\)'`; name=scd; chr=45;; esac if [ -z "${units}" -o "${units}" -le 0 ]; then - units=1 + units=0 fi if [ "${units}" -le 31 ]; then i=0 |