summaryrefslogtreecommitdiffstats
path: root/etc/MAKEDEV
diff options
context:
space:
mode:
authorasmodai <asmodai@FreeBSD.org>2000-05-06 14:17:23 +0000
committerasmodai <asmodai@FreeBSD.org>2000-05-06 14:17:23 +0000
commitd29c3aef01bf299b4e0e8908abbcc0846cd54e4c (patch)
tree6b74b041db8665ea5d0c56a92699f7f6df19f78b /etc/MAKEDEV
parent70475243cdf5a680d3d40775a484a88a658a4f54 (diff)
downloadFreeBSD-src-d29c3aef01bf299b4e0e8908abbcc0846cd54e4c.zip
FreeBSD-src-d29c3aef01bf299b4e0e8908abbcc0846cd54e4c.tar.gz
Fix comparison of units.
Submitted by: Maxim Sobolev <sobomax@altavista.net> on -current
Diffstat (limited to 'etc/MAKEDEV')
-rw-r--r--etc/MAKEDEV2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index 4278f9f..fbc6136 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -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
OpenPOWER on IntegriCloud