Add fflush(stdout); before abort call

Fixes #2318
This commit is contained in:
Samuel Moelius
2025-03-03 05:18:48 -05:00
parent a0d996558b
commit 73a36ffda3

View File

@ -331,6 +331,7 @@ static inline const char *colorfilter(const char *x) {
"\n[-] PROGRAM ABORT : " cRST x); \
SAYF(cLRD "\n Stop location : " cRST "%s(), %s:%u\n\n", __func__, \
__FILE__, (u32)__LINE__); \
fflush(stdout); \
abort(); \
\
} while (0)