Page MenuHomeFreeBSD

D23678.diff
No OneTemporary

D23678.diff

Index: head/sys/sys/sysctl.h
===================================================================
--- head/sys/sys/sysctl.h
+++ head/sys/sys/sysctl.h
@@ -270,9 +270,9 @@
#define __DESCR(d) ""
#endif
-#ifdef notyet
+#ifdef notyet
#define SYSCTL_ENFORCE_FLAGS(x) \
- _Static_assert(((CTLFLAG_MPSAFE ^ CTLFLAG_NEEDGIANT) & (x)), \
+ _Static_assert((((x) & CTLFLAG_MPSAFE) != 0) ^ (((x) & CTLFLAG_NEEDGIANT) != 0), \
"Has to be either CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT")
#else
#define SYSCTL_ENFORCE_FLAGS(x)

File Metadata

Mime Type
text/plain
Expires
Mon, Sep 28, 2:23 PM (1 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39812374
Default Alt Text
D23678.diff (533 B)

Event Timeline