diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/core/include/log.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/core/include/log.h b/src/lib/core/include/log.h index 18617c4..cad954f 100644 --- a/src/lib/core/include/log.h +++ b/src/lib/core/include/log.h @@ -16,7 +16,7 @@ struct ExecPoint { const char *function; // function of origin }; -#define EXECPOINT (struct ExecPoint) {.line = __LINE__, .file = __FILE__, .function = __FUNCTION__} +#define EXECPOINT (struct ExecPoint) {.line = __LINE__, .file = __FILE__, .function = __func__} void log_print_error(struct ExecPoint ep, const char *fmt, ...); void log_print_warning(struct ExecPoint ep, const char *fmt, ...); |
