summaryrefslogtreecommitdiff
path: root/src/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macros.h b/src/macros.h
index 659d47191..7fd1ae24c 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -142,7 +142,7 @@ is_filled(const char *ptr, char fill, size_t size)
"Unexpected size of " #type_ "(" #sz_ " expected)")
/** Checks that ioctl code's size field contains the expected value. */
-#define CHECK_IOCTL_SIZE(ioc_, sz_) \
+# define CHECK_IOCTL_SIZE(ioc_, sz_) \
static_assert(_IOC_SIZE(ioc_) == (sz_), \
"Unexpected size field value in " #ioc_ " (" #sz_" expected)")