diff options
Diffstat (limited to 'payloads/libpayload/include/die.h')
-rw-r--r-- | payloads/libpayload/include/die.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/include/die.h b/payloads/libpayload/include/die.h index c7a6e92d04..01469de17a 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...) \ |