summaryrefslogtreecommitdiff
path: root/include/linux/bug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/bug.h')
-rw-r--r--include/linux/bug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/bug.h b/include/linux/bug.h
index 77260f37..957d4087 100644
--- a/include/linux/bug.h
+++ b/include/linux/bug.h
@@ -17,7 +17,7 @@
#define BUILD_BUG_ON(cond) ((void)sizeof(char[1 - 2*!!(cond)]))
-#define BUG() do { assert(0); unreachable(); } while (0)
+#define BUG() do { fflush(stdout); assert(0); unreachable(); } while (0)
#define BUG_ON(cond) assert(!(cond))
#define WARN(cond, fmt, ...) \