aboutsummaryrefslogtreecommitdiff
path: root/src/lib/core/include/log.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2026-05-12 13:34:13 -0400
committerGitHub <noreply@github.com>2026-05-12 13:34:13 -0400
commitd8ee8c27444a56bb98dd8bd67a019a1e9efbcc10 (patch)
tree6ae1275a5f8e5794b917aac95c6cb1ab3f4cb6c5 /src/lib/core/include/log.h
parent4649a889a916aa377ebd3ca8f3daa9ac703baa34 (diff)
parent1d91efc28e30c8501428fec8ff6cd7b13dcdfb95 (diff)
downloadstasis-master.tar.gz
Merge pull request #139 from jhunkeler/bughunt-1002HEAD1.6.1master
Bughunt 0x1002
Diffstat (limited to 'src/lib/core/include/log.h')
-rw-r--r--src/lib/core/include/log.h2
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, ...);