From owner-cvs-all Tue Mar 14 19:23: 9 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E23D537B8A5; Tue, 14 Mar 2000 19:23:06 -0800 (PST) (envelope-from green@FreeBSD.org) Received: (from green@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA57797; Tue, 14 Mar 2000 19:23:06 -0800 (PST) (envelope-from green@FreeBSD.org) Message-Id: <200003150323.TAA57797@freefall.freebsd.org> From: Brian Feldman Date: Tue, 14 Mar 2000 19:23:05 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ppbus lpt.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG green 2000/03/14 19:23:05 PST Modified files: sys/dev/ppbus lpt.c Log: I _HATE_ crashes. The lptread() call needs to check LP_BYPASS, because if one tries to use read() on an LP_BYPASS'd dev_t, the softc will be initialized mainly with NULLs, so... Revision Changes Path 1.16 +6 -1 src/sys/dev/ppbus/lpt.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message