mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
ifnet: fix if_strings.h build check
This commit is contained in:
1 parent
c344eff910
commit
511b35866a
1 file changed
+3
@@ -100,7 +100,10 @@ static const char *ifcap_bit_names[] = {
|
||||
IFCAP_RXTLS4_NAME,
|
||||
IFCAP_RXTLS6_NAME,
|
||||
};
|
||||
|
||||
#ifdef IFCAP_B_SIZE
|
||||
_Static_assert(sizeof(ifcap_bit_names) >= IFCAP_B_SIZE * sizeof(char *),
|
||||
"ifcap bit names missing from ifcap_bit_names");
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user