Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/log/src/log.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
static int fd_log_file = -1;
static char offline_buffer[1 * 1024 * 1024];
static size_t offline_offset = 0;
static atomic_bool log_mutex_init = ATOMIC_VAR_INIT(false);
static atomic_bool log_mutex_init = false; // was ATOMIC_VAR_INIT(false) — macro removed in C23 / modern GCC
static pthread_mutex_t log_mutex;

static const char *log_level_names[] = {
Expand Down