cvs commit: src/sys/kern tty_pty.c
Konstantin Belousov
kib at FreeBSD.org
Fri Jan 25 22:09:23 PST 2008
kib 2008-01-26 06:09:23 UTC
FreeBSD src repository
Modified files:
sys/kern tty_pty.c
Log:
In rev. 1.156, the convertion of the minor number to the unit number
resulted in the argument to the make_dev() to be a unit number.
Correct this by supplying a minor number to make_dev(), and using
the unit number for the calculation of the slave tty name.
Reported and tested by: Peter Holm
Reviewed by: jhb
Yet another pointy hat to: kib
MFC after: 1 day
Revision Changes Path
1.157 +5 -3 src/sys/kern/tty_pty.c
More information about the cvs-src
mailing list