Fix ``MAKEDEV acd''

Spotted by: Mark Knight <mkn@FreeBSD.org.uk>
This commit is contained in:
Brian Somers 1999-10-15 16:20:58 +00:00
parent dea6f3fbb6
commit ae409c2b97
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52259
3 changed files with 3 additions and 3 deletions

View file

@ -724,7 +724,7 @@ acd*|cd*|mcd*|scd*)
mcd*) units=`expr $i : '...\(.*\)'`; name=mcd; blk=7; chr=29;;
scd*) units=`expr $i : '...\(.*\)'`; name=scd; blk=16; chr=45;;
esac
if [ -z "${units}" -o ${units} -le 0 ]; then
if [ -z "${units}" -o "${units}" -le 0 ]; then
units=1
fi
if [ "${units}" -le 31 ]; then

View file

@ -694,7 +694,7 @@ acd*|cd*|mcd*|scd*)
mcd*) units=`expr $i : '...\(.*\)'`; name=mcd; blk=7; chr=29;;
scd*) units=`expr $i : '...\(.*\)'`; name=scd; blk=16; chr=45;;
esac
if [ -z "${units}" -o ${units} -le 0 ]; then
if [ -z "${units}" -o "${units}" -le 0 ]; then
units=1
fi
if [ "${units}" -le 31 ]; then

View file

@ -724,7 +724,7 @@ acd*|cd*|mcd*|scd*)
mcd*) units=`expr $i : '...\(.*\)'`; name=mcd; blk=7; chr=29;;
scd*) units=`expr $i : '...\(.*\)'`; name=scd; blk=16; chr=45;;
esac
if [ -z "${units}" -o ${units} -le 0 ]; then
if [ -z "${units}" -o "${units}" -le 0 ]; then
units=1
fi
if [ "${units}" -le 31 ]; then