mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-25 16:13:17 +00:00
Fix comparison of units.
Submitted by: Maxim Sobolev <sobomax@altavista.net> on -current
This commit is contained in:
parent
ea1a3a92fe
commit
22b9f6cdc7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60094
@ -795,7 +795,7 @@ acd*|cd*|mcd*|scd*)
|
||||
fi
|
||||
if [ "${units}" -le 31 ]; then
|
||||
i=0
|
||||
while [ $i -lt $units ]; do
|
||||
while [ $i -le $units ]; do
|
||||
dname=$name$i
|
||||
rm -rf ${dname}* r${dname}*
|
||||
mknod ${dname}a c $chr $(($i * 8)) root:operator
|
||||
|
Loading…
Reference in New Issue
Block a user