summaryrefslogtreecommitdiffstats
path: root/sys/dev/wi/if_wi.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2009-09-08 13:16:55 +0000
committerphk <phk@FreeBSD.org>2009-09-08 13:16:55 +0000
commit2314521104388ada19392a3b2cdaca4ba6f82243 (patch)
tree861cbfaa866bcf3864607e709a7f079f8e0b8b88 /sys/dev/wi/if_wi.c
parent3f6c5f153b139d0086f063e076f19f4f76da1927 (diff)
downloadFreeBSD-src-2314521104388ada19392a3b2cdaca4ba6f82243.zip
FreeBSD-src-2314521104388ada19392a3b2cdaca4ba6f82243.tar.gz
Add necessary include.
Diffstat (limited to 'sys/dev/wi/if_wi.c')
-rw-r--r--sys/dev/wi/if_wi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c
index 616c5d7..74653d1e 100644
--- a/sys/dev/wi/if_wi.c
+++ b/sys/dev/wi/if_wi.c
@@ -1673,6 +1673,7 @@ wi_read_nicid(struct wi_softc *sc)
memset(ident, 0, sizeof(ident));
len = sizeof(ident);
/* value should be the format like "V2.00-11" */
+ /* XXX: Flexelint: ident is local, p is arg */
if (wi_read_rid(sc, WI_RID_SYMBOL_IDENTITY, ident, &len) == 0 &&
*(p = (char *)ident) >= 'A' &&
p[2] == '.' && p[5] == '-' && p[8] == '\0') {
OpenPOWER on IntegriCloud