summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-03-01 12:45:19 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-03-01 12:45:19 +0000
commit5d208bcd7a79749edabd1584d74b20a37c9dd4bf (patch)
tree243c31f6f7c5f5df2e3709cebb3b712d9f110c1b /sys
parentcc789536655d5b7a60f1421d6881bda969cdb878 (diff)
An actual bug the "stupid" missing braces around else clause
warning in GCC 2.8, found.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/pdq.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/pdq.c b/sys/dev/ic/pdq.c
index 23af787b4ea..75f64b8a416 100644
--- a/sys/dev/ic/pdq.c
+++ b/sys/dev/ic/pdq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pdq.c,v 1.7 1996/10/31 01:01:37 niklas Exp $ */
+/* $OpenBSD: pdq.c,v 1.8 1998/03/01 12:45:18 niklas Exp $ */
/* $NetBSD: pdq.c,v 1.9 1996/10/13 01:37:26 christos Exp $ */
/*-
@@ -748,8 +748,9 @@ pdq_process_received_data(
status.rxs_rcc_reason, status.rxs_fsc, status.rxs_fsb_e));
if (status.rxs_rcc_reason == 7)
goto discard_frame;
- if (status.rxs_rcc_reason != 0)
+ if (status.rxs_rcc_reason != 0) {
/* hardware fault */
+ }
if (status.rxs_rcc_badcrc) {
printf(PDQ_OS_PREFIX " MAC CRC error (source=%x-%x-%x-%x-%x-%x)\n",
PDQ_OS_PREFIX_ARGS,