summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2005-10-06 08:30:40 +0000
committerpjd <pjd@FreeBSD.org>2005-10-06 08:30:40 +0000
commitbb545b1c608bff9b791fcb393e0b19c3ee99feac (patch)
tree5ec8ea011725f7a7f4bac87bcebe51625b4cebd5 /sys
parentfb8303eab6a8aaf44b8b66eb3406ce3335dd888d (diff)
downloadFreeBSD-src-bb545b1c608bff9b791fcb393e0b19c3ee99feac.zip
FreeBSD-src-bb545b1c608bff9b791fcb393e0b19c3ee99feac.tar.gz
Fix a nasty typo. Change:
if (foo); bar(); to: if (foo) bar(); Really, really nasty bug and a very nice catch of mine. Unfortunately, I'll not become a hero of the day, because the code is commented out.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/xe/if_xereg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/xe/if_xereg.h b/sys/dev/xe/if_xereg.h
index 9b3c39a..f3ab4b5 100644
--- a/sys/dev/xe/if_xereg.h
+++ b/sys/dev/xe/if_xereg.h
@@ -568,7 +568,7 @@
* for (i = 0; i < 6; i++) {
* current = mcast_addr[i];
* for (k = 1; k <= 8; k++) {
- * if (crc & 0x80000000);
+ * if (crc & 0x80000000)
* crc31 = 0x01;
* else
* crc31 = 0;
OpenPOWER on IntegriCloud