From 22b9f6cdc7592c5d0ea319f53ddccf079a136f36 Mon Sep 17 00:00:00 2001 From: Jeroen Ruigrok van der Werven Date: Sat, 6 May 2000 14:17:23 +0000 Subject: [PATCH] Fix comparison of units. Submitted by: Maxim Sobolev on -current --- etc/MAKEDEV | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 4278f9f3e21a..fbc6136c35e0 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