Skip to content

Commit

Permalink
Fix typo (netdata#17059)
Browse files Browse the repository at this point in the history
  • Loading branch information
vkalintiris authored Feb 26, 2024
1 parent a82f498 commit cd145f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libnetdata/log/log.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit cd145f8

Please sign in to comment.