Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 1997 17:00:22 +0500 (ES)
From:      Vasim Valejev <vasim@diaspro.com>
To:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/4892: config gives bad numbers of pseudo-device to kernel
Message-ID:  <Pine.BSF.3.96.971030165749.6649A-100000@uddias.diaspro.com>
In-Reply-To: <199710301127.QAA04794@uddias.diaspro.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi !

On Thu, 30 Oct 1997, Vasim Valejev wrote:

> 
> >Number:         4892
> >Category:       bin
> >Synopsis:       config gives bad numbers of pseudo-device to kernel
> >Confidential:   no
> >Severity:       critical
> >Priority:       high
> >Responsible:    freebsd-bugs

[skip]

Sorry , it's bad fix . Rigth fix for this problem :

*** mkheaders.c.orig	Thu Oct 30 16:18:35 1997
--- mkheaders.c	Thu Oct 30 16:41:03 1997
***************
*** 94,98 ****
  	for (hicount = count = 0, dp = dtab; dp != 0; dp = dp->d_next)
  		if (dp->d_unit != -1 && eq(dp->d_name, dev)) {
! 			if (dp->d_type == PSEUDO_DEVICE) {
  				count =
  				    dp->d_slave != UNKNOWN ? dp->d_slave : 1;
--- 94,98 ----
  	for (hicount = count = 0, dp = dtab; dp != 0; dp = dp->d_next)
  		if (dp->d_unit != -1 && eq(dp->d_name, dev)) {
! 			if ((dp->d_type & TYPEMASK) == PSEUDO_DEVICE) {
  				count =
  				    dp->d_slave != UNKNOWN ? dp->d_slave : 1;

Vasim V. (2:5011/27 http://members.tripod.com/~Vasim VV86-RIPE)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971030165749.6649A-100000>