Not so fast, that was one '0+' too many.

PR:		7124
This commit is contained in:
Dag-Erling Smørgrav 1998-07-03 15:43:20 +00:00
parent 24fa2d131e
commit bb2d4c7e76
2 changed files with 4 additions and 4 deletions

View File

@ -107,7 +107,7 @@
# pci PCI configuration-space access from user mode
# ipl ipfilter control devices (ipl, ipnat, ipstate, ipauth)
#
# $Id: MAKEDEV,v 1.163 1998/03/27 04:35:10 peter Exp $
# $Id: MAKEDEV,v 1.164 1998/07/02 07:39:01 des Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH
@ -552,7 +552,7 @@ pty*)
case $class in
0|1|2|3|4|5|6|7)
umask 0
eval `echo $offset $name | awk ' { b=0+$1; n=0+$2 } END { \
eval `echo $offset $name | awk ' { b=0+$1; n=$2 } END { \
for (i = 0; i < 32; i++) {
c = substr("0123456789abcdefghijklmnopqrstuv", i + 1, 1); \
printf("mknod tty%s%s c 5 %d; \

View File

@ -107,7 +107,7 @@
# pci PCI configuration-space access from user mode
# ipl ipfilter control devices (ipl, ipnat, ipstate, ipauth)
#
# $Id: MAKEDEV,v 1.163 1998/03/27 04:35:10 peter Exp $
# $Id: MAKEDEV,v 1.164 1998/07/02 07:39:01 des Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH
@ -552,7 +552,7 @@ pty*)
case $class in
0|1|2|3|4|5|6|7)
umask 0
eval `echo $offset $name | awk ' { b=0+$1; n=0+$2 } END { \
eval `echo $offset $name | awk ' { b=0+$1; n=$2 } END { \
for (i = 0; i < 32; i++) {
c = substr("0123456789abcdefghijklmnopqrstuv", i + 1, 1); \
printf("mknod tty%s%s c 5 %d; \