Browse Source

slave/master pty is 4/5 not 5/6

OPENBSD_2_1 OPENBSD_2_1_BASE
millert 27 years ago
parent
commit
5f7169e63f
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/etc/etc.mac68k/MAKEDEV

+ 3
- 3
src/etc/etc.mac68k/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.14 1997/05/14 15:41:14 niklas Exp $
# $OpenBSD: MAKEDEV,v 1.15 1997/05/25 18:50:16 millert Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
# All rights reserved. # All rights reserved.
@ -245,8 +245,8 @@ pty*)
do do
nam=$name`hex $n` nam=$name`hex $n`
rm -rf {tty,pty}$n rm -rf {tty,pty}$n
mknod tty$nam c 5 `add $offset $n`
mknod pty$nam c 6 `add $offset $n`
mknod tty$nam c 4 `add $offset $n`
mknod pty$nam c 5 `add $offset $n`
n=`add $n 1` n=`add $n 1`
done done
umask 77 umask 77


Loading…
Cancel
Save