summaryrefslogtreecommitdiff
path: root/sys/dev/ic/if_wireg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/if_wireg.h')
-rw-r--r--sys/dev/ic/if_wireg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/if_wireg.h b/sys/dev/ic/if_wireg.h
index 728153d4d89..330fa4b5895 100644
--- a/sys/dev/ic/if_wireg.h
+++ b/sys/dev/ic/if_wireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wireg.h,v 1.39 2008/02/03 15:04:37 kettenis Exp $ */
+/* $OpenBSD: if_wireg.h,v 1.40 2011/06/21 16:52:45 tedu Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -356,7 +356,7 @@ struct wi_ltv_str {
int l; \
\
l = (str.i_len + 1) & ~0x1; \
- bzero((char *)&s, sizeof(s)); \
+ bzero(&s, sizeof(s)); \
s.wi_len = (l / 2) + 2; \
s.wi_type = recno; \
s.wi_str[0] = htole16(str.i_len); \