Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/etc/etc.vax Pull up revision 1.9 (requested by lukem in t...
details: https://anonhg.NetBSD.org/src/rev/661c0f00e32b
branches: netbsd-3
changeset: 575715:661c0f00e32b
user: tron <tron%NetBSD.org@localhost>
date: Sat May 07 11:54:35 2005 +0000
description:
Pull up revision 1.9 (requested by lukem in ticket #258):
Fix previous, caused by premature optimization...
Noted by Kirk Russell.
diffstat:
etc/etc.vax/MAKEDEV.conf | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diffs (33 lines):
diff -r 91788206b34c -r 661c0f00e32b etc/etc.vax/MAKEDEV.conf
--- a/etc/etc.vax/MAKEDEV.conf Sat May 07 11:53:16 2005 +0000
+++ b/etc/etc.vax/MAKEDEV.conf Sat May 07 11:54:35 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: MAKEDEV.conf,v 1.7.6.1 2005/05/07 11:53:16 tron Exp $
+# $NetBSD: MAKEDEV.conf,v 1.7.6.2 2005/05/07 11:54:35 tron Exp $
all_md)
makedev mt0 mt1 ts0 ts1 st0 st1 uk0 ss0 cd0 vt0
@@ -94,8 +94,9 @@
i=0
while [ $i -lt 8 ]
do
- ounit=$(zeropad 2 $unit)
- mkdev tty$ounit c 1 $(($unit * 8 + $i))
+ oi=$(($unit * 8 + $i))
+ zoi=$(zeropad 2 $oi)
+ mkdev tty$zoi c 1 $oi
i=$(($i + 1))
done
;;
@@ -211,8 +212,9 @@
i=0
while [ $i -lt 4 ]
do
- ounit=$(zeropad 2 $i)
- mkdev np$ounit c 39 $(($offset + $i))
+ oi=$(($offset + $i))
+ zoi=$(zeropad 2 $oi)
+ mkdev np$zoi c 39 $oi
i=$(($i + 1))
done
esac
Home |
Main Index |
Thread Index |
Old Index