pty (pts) is major 4, not 6

This commit is contained in:
matt 2003-09-05 03:10:36 +00:00
parent 95b95dbc37
commit d671884ac3
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $NetBSD: MAKEDEV,v 1.114 2003/08/30 11:00:22 dsl Exp $
# $NetBSD: MAKEDEV,v 1.115 2003/09/05 03:10:36 matt Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -514,8 +514,8 @@ pty*)
if [ $j = g ]; then
unit=$(($unit + $class * 30 + 256 - 16))
fi
mknod pty$name$j c 4 $unit
mknod tty$name$j c 5 $unit
mknod pty$name$j c 6 $unit
names="$names tty$name$j pty$name$j"
unit=$(($unit + 1))
done