Date: Sat, 26 Jan 2008 06:09:23 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern tty_pty.c Message-ID: <200801260609.m0Q69NhJ038157@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801260609.m0Q69NhJ038157>
