From 57432591c179d34bf40460a26eddbddef92cbd95 Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Thu, 6 Oct 2005 08:30:40 +0000 Subject: [PATCH] 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. --- sys/dev/xe/if_xereg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/xe/if_xereg.h b/sys/dev/xe/if_xereg.h index 9b3c39a611a..f3ab4b5c21a 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;