Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 1999 11:34:38 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        hackers@FreeBSD.ORG
Subject:   Verification of bug in dev/pdq/pdq.c
Message-ID:  <199901271934.LAA47551@apollo.backplane.com>

next in thread | raw e-mail | index | archive | help
cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing
-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -no
stdinc -I- -I. -I../.. -I../../../include  -DKERNEL -include opt_global.h -elf  
../../dev/pdq/pdq.c
../../dev/pdq/pdq.c: In function `pdq_process_received_data':
../../dev/pdq/pdq.c:767: warning: suggest parentheses around comparison in opera
nd of |

            } else if (status.rxs_fsc == 0 | status.rxs_fsb_e == 1) {
                /* rx->rx_frame_status_errors++; */


    I presume the '|' instead of '||' is a bug.  Second opinion?

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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