Fix ``MAKEDEV acd''
Spotted by: Mark Knight <mkn@FreeBSD.org.uk>
This commit is contained in:
parent
668aa5abdd
commit
c4373c3df9
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user