summaryrefslogtreecommitdiff
path: root/etc/etc.i386/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.i386/MAKEDEV
parent91a44bb9cb6475991c051de0b367cee9de923da1 (diff)
fix major number for fd/*; felix reported the i386 flaw
Diffstat (limited to 'etc/etc.i386/MAKEDEV')
-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 3ccf2a05b6f..aabc5c03b0f 100644
--- a/etc/etc.i386/MAKEDEV
+++ b/etc/etc.i386/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.53 1997/12/08 21:27:39 mickey Exp $
+# $OpenBSD: MAKEDEV,v 1.54 1997/12/16 21:17:42 deraadt Exp $
# $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -166,7 +166,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 22 $n; n="$(( $n + 1 ))"; done )
chown -R root.wheel fd
chmod 555 fd
chmod 666 fd/*