summaryrefslogtreecommitdiff
path: root/etc/etc.mac68k
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-12-08 21:27:44 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-12-08 21:27:44 +0000
commite0277928287efb00a1ddf2d6764b6d03ae8f71be (patch)
treeb8927c6c04ba81536365391625bd6ee3829f1e27 /etc/etc.mac68k
parentfdc9b4627c0d02a7505843e751f02dce8a81714e (diff)
fix chN (N > 0) problem
Diffstat (limited to 'etc/etc.mac68k')
-rw-r--r--etc/etc.mac68k/MAKEDEV4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/etc.mac68k/MAKEDEV b/etc/etc.mac68k/MAKEDEV
index 23773a03e73..e3c9fe5f698 100644
--- a/etc/etc.mac68k/MAKEDEV
+++ b/etc/etc.mac68k/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.20 1997/09/16 06:01:00 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.21 1997/12/08 21:27:41 mickey Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -300,7 +300,7 @@ ch*)
rm -f $name$unit
case $unit in
0|1|2|3|4|5|6)
- mknod ${name}${unit} c $chr `expr $unit '*' 16 + 0`
+ mknod ${name}${unit} c $chr $unit
chown root.operator ${name}${unit}
chmod 640 ${name}${unit}
;;