diff options
-rw-r--r-- | src/libnetdata/log/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libnetdata/log/log.c b/src/libnetdata/log/log.c index e2a859ef9c..bfba93ddb2 100644 --- a/src/libnetdata/log/log.c +++ b/src/libnetdata/log/log.c @@ -14,7 +14,7 @@ #include <machine/endian.h> #endif -#if !defined(ENABLE_SERNTRY) && defined(HAVE_BACKTRACE) +#if !defined(ENABLE_SENTRY) && defined(HAVE_BACKTRACE) #include <execinfo.h> #endif @@ -2334,7 +2334,7 @@ void netdata_logger_fatal( const char *file, const char *function, const unsigne char action_result[60+1]; snprintfz(action_result, 60, "%s:%s", program_name, tag_to_send); -#if !defined(ENABLE_SERNTRY) && defined(HAVE_BACKTRACE) +#if !defined(ENABLE_SENTRY) && defined(HAVE_BACKTRACE) int fd = nd_log.sources[NDLS_DAEMON].fd; if(fd == -1) fd = STDERR_FILENO; |