summaryrefslogtreecommitdiff
path: root/etc/etc.alpha
diff options
context:
space:
mode:
authorDan Harnett <danh@cvs.openbsd.org>2005-01-28 18:59:44 +0000
committerDan Harnett <danh@cvs.openbsd.org>2005-01-28 18:59:44 +0000
commit991ab6550b22cfc797e0586bc378d6efab4ef024 (patch)
tree45960e3845a524f2b2d18dbab6f3fba788c7a9ed /etc/etc.alpha
parentede547ca046626f7772193149a7d0152ad39a3c4 (diff)
sync
Diffstat (limited to 'etc/etc.alpha')
-rw-r--r--etc/etc.alpha/MAKEDEV10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/etc.alpha/MAKEDEV b/etc/etc.alpha/MAKEDEV
index 04ce7b1a1ae..4e31d5802b2 100644
--- a/etc/etc.alpha/MAKEDEV
+++ b/etc/etc.alpha/MAKEDEV
@@ -4,9 +4,9 @@
# generated from:
#
# OpenBSD: etc.alpha/MAKEDEV.md,v 1.26 2004/06/18 20:35:48 miod Exp
-# OpenBSD: MAKEDEV.common,v 1.13 2005/01/10 07:53:57 dlg Exp
+# OpenBSD: MAKEDEV.common,v 1.15 2005/01/28 18:56:27 danh Exp
# OpenBSD: MAKEDEV.mi,v 1.72 2004/02/16 18:58:53 miod Exp
-# OpenBSD: MAKEDEV.sub,v 1.12 2004/02/20 19:13:01 miod Exp
+# OpenBSD: MAKEDEV.sub,v 1.13 2005/01/28 18:51:38 danh Exp
#
#
# Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org>
@@ -355,9 +355,9 @@ uhid*)
ugen*)
n=$(($U*16))
- for j in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
+ for j in 0{0,1,2,3,4,5,6,7,8,9} 1{0,1,2,3,4,5}
do
- M ugen$U.$j c 48 $(($n+$j)) 660
+ M ugen$U.$j c 48 $(($n+10#$j)) 660
done
;;
@@ -403,7 +403,7 @@ tty[C-F]*)
ttyF*) n=F m=768;;
esac
case $U in
- [0-9a-f]) M tty$n$U c 25 $(( 16#$U + $m )) 600;;
+ [0-9a-f]) M tty$n$U c 25 $((16#$U+$m)) 600;;
cfg) M tty${n}cfg c 25 $((255+$m)) 600;;
*) echo bad unit $U for $i; exit 1;;
esac