summaryrefslogtreecommitdiff
path: root/etc/etc.alpha/MAKEDEV
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-12-16 21:17:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-12-16 21:17:45 +0000
commit45f6df326c4f1176d7994685b33d532fe5d0f713 (patch)
tree2bbb8e114ec5c69c1bd56c7e8d25bafc8714d2d9 /etc/etc.alpha/MAKEDEV
parent91a44bb9cb6475991c051de0b367cee9de923da1 (diff)
fix major number for fd/*; felix reported the i386 flaw
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 8ab4e53c02e..7b58310291e 100644
--- a/etc/etc.alpha/MAKEDEV
+++ b/etc/etc.alpha/MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.29 1997/12/08 21:27:34 mickey Exp $
+# $OpenBSD: MAKEDEV,v 1.30 1997/12/16 21:17:40 deraadt 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.
@@ -136,7 +136,7 @@ fd)
rm -f fd/*
mkdir fd > /dev/null 2>&1
n=0
- (cd fd && while [ $n -lt 64 ]; do mknod $n c 24 $n; n="$(( $n + 1 ))"; done)
+ (cd fd && while [ $n -lt 64 ]; do mknod $n c 10 $n; n="$(( $n + 1 ))"; done)
chown -R root.wheel fd
chmod 555 fd
chmod 666 fd/*