summaryrefslogtreecommitdiffstats
path: root/payloads/libpayload/include/die.h
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/include/die.h')
-rw-r--r--payloads/libpayload/include/die.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/include/die.h b/payloads/libpayload/include/die.h
index c7a6e92d044f..01469de17ace 100644
--- a/payloads/libpayload/include/die.h
+++ b/payloads/libpayload/include/die.h
@@ -35,7 +35,7 @@ void die_work(const char *file, const char *func, const int line,
__attribute__((noreturn));
#define die(fmt, args...) \
- do { die_work(__FILE__, __FUNCTION__, __LINE__, fmt, ##args); } \
+ do { die_work(__FILE__, __func__, __LINE__, fmt, ##args); } \
while (0)
#define die_if(condition, fmt, args...) \