From owner-freebsd-bugs Wed Nov 22 09:46:08 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA29717 for bugs-outgoing; Wed, 22 Nov 1995 09:46:08 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id JAA29710 for ; Wed, 22 Nov 1995 09:46:05 -0800 Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id JAA02240; Wed, 22 Nov 1995 09:45:47 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.12/8.6.5) with SMTP id JAA00412; Wed, 22 Nov 1995 09:43:24 -0800 Message-Id: <199511221743.JAA00412@corbin.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 In-reply-to: Your message of "Wed, 22 Nov 95 16:50:08 GMT." <9511221650.AA01478@queenbee.spider.co.uk> From: David Greenman Reply-To: davidg@Root.COM Date: Wed, 22 Nov 1995 09:43:14 -0800 Sender: owner-bugs@freebsd.org Precedence: bulk >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