summaryrefslogtreecommitdiff
path: root/etc/etc.mac68k
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.mac68k
parent91a44bb9cb6475991c051de0b367cee9de923da1 (diff)
fix major number for fd/*; felix reported the i386 flaw
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 e3c9fe5f698..5b43753d241 100644
--- a/etc/etc.mac68k/MAKEDEV
+++ b/etc/etc.mac68k/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.21 1997/12/08 21:27:41 mickey Exp $
+# $OpenBSD: MAKEDEV,v 1.22 1997/12/16 21:17:44 deraadt Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -131,7 +131,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=`add $n 1`; done)
+ (cd fd && while [ $n -lt 64 ]; do mknod $n c 21 $n; n=`add $n 1`; done)
chown -R root.wheel fd
chmod 555 fd
chmod 666 fd/*