summaryrefslogtreecommitdiff
path: root/etc/etc.i386
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.i386
parentfdc9b4627c0d02a7505843e751f02dce8a81714e (diff)
fix chN (N > 0) problem
Diffstat (limited to 'etc/etc.i386')
-rw-r--r--etc/etc.i386/MAKEDEV4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV
index 90bda7d0ad2..3ccf2a05b6f 100644
--- a/etc/etc.i386/MAKEDEV
+++ b/etc/etc.i386/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.52 1997/10/06 05:17:17 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.53 1997/12/08 21:27:39 mickey Exp $
# $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -419,7 +419,7 @@ ch*)
ch*) name=ch; chr=17;;
esac
rm -f $name$unit
- mknod $name$unit c $chr `expr $unit '*' 16 + 0`
+ mknod $name$unit c $chr $unit
chown root.operator $name$unit
chmod 640 $name$unit
umask 77