#define CGROUP2_SUPER_MAGIC 0x63677270
#endif
-#define lxcfs_debug_stream(stream, format, ...) \
- do { \
- fprintf(stream, "%s: %d: %s: " format "\n", __FILE__, __LINE__, \
- __func__, ##__VA_ARGS__); \
+#define lxcfs_debug_stream(stream, format, ...) \
+ do { \
+ fprintf(stream, "%s: %d: %s: " format "\n", __FILE__, \
+ __LINE__, __func__, ##__VA_ARGS__); \
} while (false)
#define lxcfs_error(format, ...) lxcfs_debug_stream(stderr, format, ##__VA_ARGS__)
#ifdef DEBUG
#define lxcfs_debug(format, ...) lxcfs_error(format, ##__VA_ARGS__)
#else
-#define lxcfs_debug(format, ...)
+#define lxcfs_debug(format, ...) \
+ do { \
+ } while (false)
#endif /* DEBUG */
#ifdef VERBOSE