summaryrefslogtreecommitdiffstats
path: root/src/database/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/database/engine')
-rw-r--r--src/database/engine/rrdengine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/engine/rrdengine.c b/src/database/engine/rrdengine.c
index 2d6583ea..a989877f 100644
--- a/src/database/engine/rrdengine.c
+++ b/src/database/engine/rrdengine.c
@@ -1517,7 +1517,7 @@ static void *journal_v2_indexing_tp_worker(struct rrdengine_instance *ctx __mayb
break;
}
- errno = 0;
+ errno_clear();
if(count)
nd_log(NDLS_DAEMON, NDLP_DEBUG,
"DBENGINE: journal indexing done; %u files processed",