From owner-cvs-all@FreeBSD.ORG Sat Jan 26 06:09:23 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 869E716A41A; Sat, 26 Jan 2008 06:09:23 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 59B9913C465; Sat, 26 Jan 2008 06:09:23 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m0Q69N9p038158; Sat, 26 Jan 2008 06:09:23 GMT (envelope-from kib@repoman.freebsd.org) Received: (from kib@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m0Q69NhJ038157; Sat, 26 Jan 2008 06:09:23 GMT (envelope-from kib) Message-Id: <200801260609.m0Q69NhJ038157@repoman.freebsd.org> From: Konstantin Belousov Date: Sat, 26 Jan 2008 06:09:23 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern tty_pty.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jan 2008 06:09:23 -0000 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