summaryrefslogtreecommitdiff
path: root/etc/etc.alpha/MAKEDEV
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.alpha/MAKEDEV
parentfdc9b4627c0d02a7505843e751f02dce8a81714e (diff)
fix chN (N > 0) problem
Diffstat (limited to 'etc/etc.alpha/MAKEDEV')
-rw-r--r--etc/etc.alpha/MAKEDEV4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/etc.alpha/MAKEDEV b/etc/etc.alpha/MAKEDEV
index bd8efe5f7a1..8ab4e53c02e 100644
--- a/etc/etc.alpha/MAKEDEV
+++ b/etc/etc.alpha/MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.28 1997/09/16 06:00:49 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.29 1997/12/08 21:27:34 mickey Exp $
# $NetBSD: MAKEDEV,v 1.8.4.1 1996/06/18 00:41:56 cgd Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -336,7 +336,7 @@ ch*)
ch*) name=ch; chr=14;;
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