summaryrefslogtreecommitdiff
path: root/etc/etc.mvmeppc
diff options
context:
space:
mode:
authorDan Harnett <danh@cvs.openbsd.org>2005-01-28 18:56:28 +0000
committerDan Harnett <danh@cvs.openbsd.org>2005-01-28 18:56:28 +0000
commitede547ca046626f7772193149a7d0152ad39a3c4 (patch)
tree5597d6a6d34d1796963771f3a80790779ed1d10b /etc/etc.mvmeppc
parent18ff94cba9ffd0eb70ec9434d0280ec329ec98a1 (diff)
use Add() consistently and make sure we use decimal numbers for addition
in the case of ugen devices. suggestions and ok todd@
Diffstat (limited to 'etc/etc.mvmeppc')
-rw-r--r--etc/etc.mvmeppc/MAKEDEV.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/etc.mvmeppc/MAKEDEV.md b/etc/etc.mvmeppc/MAKEDEV.md
index 25a271c24af..92b7f29b920 100644
--- a/etc/etc.mvmeppc/MAKEDEV.md
+++ b/etc/etc.mvmeppc/MAKEDEV.md
@@ -1,5 +1,5 @@
vers(__file__,
- {-$OpenBSD: MAKEDEV.md,v 1.16 2004/04/11 18:05:23 millert Exp $-},
+ {-$OpenBSD: MAKEDEV.md,v 1.17 2005/01/28 18:56:27 danh Exp $-},
etc.MACHINE)dnl
dnl
dnl Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org>
@@ -317,10 +317,10 @@ uhid*)
;;
ugen*)
- 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
rm -f ugen$unit.$j
- mknod ugen$unit.$j c 63 $(( $unit * 16 + $j ))
+ mknod ugen$unit.$j c 63 $(( $unit * 16 + 10#$j ))
chown root:wheel ugen$unit.$j
chmod 660 ugen$unit.$j
done