From owner-cvs-all@FreeBSD.ORG Tue Mar 1 17:21:25 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2E5B16A4CF; Tue, 1 Mar 2005 17:21:25 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9BB143D1F; Tue, 1 Mar 2005 17:21:25 +0000 (GMT) (envelope-from wpaul@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j21HLPkf076690; Tue, 1 Mar 2005 17:21:25 GMT (envelope-from wpaul@repoman.freebsd.org) Received: (from wpaul@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j21HLPsc076689; Tue, 1 Mar 2005 17:21:25 GMT (envelope-from wpaul) Message-Id: <200503011721.j21HLPsc076689@repoman.freebsd.org> From: Bill Paul Date: Tue, 1 Mar 2005 17:21:25 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/compat/ndis kern_windrv.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 01 Mar 2005 17:21:26 -0000 wpaul 2005-03-01 17:21:25 UTC FreeBSD src repository Modified files: sys/compat/ndis kern_windrv.c Log: In windrv_load(), I was allocating the driver object using malloc(sizeof(device_object), ...) by mistake. Correct this, and rename "dobj" to "drv" to make it a bit clearer what this variable is supposed to be. Spotted by: Mikore Li at Sun dot comnospamplzkthx Revision Changes Path 1.5 +17 -17 src/sys/compat/ndis/kern_windrv.c