Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 1995 09:43:14 -0800
From:      David Greenman <davidg@Root.COM>
To:        gavin@spider.co.uk (Gavin Shearer)
Cc:        freebsd-bugs@freebsd.org
Subject:   Re: Problem of '=' instead of '==' in if_ed.c version 1.87 
Message-ID:  <199511221743.JAA00412@corbin.Root.COM>
In-Reply-To: Your message of "Wed, 22 Nov 95 16:50:08 GMT." <9511221650.AA01478@queenbee.spider.co.uk> 

next in thread | previous in thread | raw e-mail | index | archive | help
>The file "sys/i386/isa/if_ed.c" (version 1.87) has a couple of lines which
>have '=' instead of '==':
>
>line 513:
>		if (sc->type = ED_TYPE_SMC8216C) {
>should be:
>		if (sc->type == ED_TYPE_SMC8216C) {
>
>line 537:
>                        if (sc->type = ED_TYPE_SMC8216C) {
>should be
>			if (sc->type == ED_TYPE_SMC8216C) {

   Yikes! That slipped past my review. Fortunately the effect of this is only
cosmetic - the type string is output incorrectly in some cases. Thanks for the
bug report.

-DG



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511221743.JAA00412>