diff options
author | andre <andre@FreeBSD.org> | 2006-09-18 23:44:12 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2006-09-18 23:44:12 +0000 |
commit | b321ff1ba06461d00f3db3238dd16e1aac1c0755 (patch) | |
tree | 7febd7d186ec7da34c2c6022821b4d8d231d9a8a /sys/dev/em/if_em.c | |
parent | 2ec441fc93f6e691529d334cd865aeaa808b718c (diff) | |
download | FreeBSD-src-b321ff1ba06461d00f3db3238dd16e1aac1c0755.zip FreeBSD-src-b321ff1ba06461d00f3db3238dd16e1aac1c0755.tar.gz |
Don't forget to add curly braces when doing more than one line of actions
after a 'if' statement.
Pointy hat to: andre
Diffstat (limited to 'sys/dev/em/if_em.c')
-rw-r--r-- | sys/dev/em/if_em.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/em/if_em.c b/sys/dev/em/if_em.c index 0943f55..c31baac 100644 --- a/sys/dev/em/if_em.c +++ b/sys/dev/em/if_em.c @@ -3393,11 +3393,12 @@ em_rxeof(struct adapter *adapter, int count) em_fixup_rx(adapter) != 0) goto skip; #endif - if (status & E1000_RXD_STAT_VP) + if (status & E1000_RXD_STAT_VP) { adapter->fmp->m_pkthdr.ether_vtag = (le16toh(current_desc->special) & E1000_RXD_SPC_VLAN_MASK); adapter->fmp->m_flags |= M_VLANTAG; + } #ifndef __NO_STRICT_ALIGNMENT skip: #endif |