diff options
Diffstat (limited to 'src/registry')
-rw-r--r-- | src/registry/registry_db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/registry/registry_db.c b/src/registry/registry_db.c index 448ca29d3..67c5312ed 100644 --- a/src/registry/registry_db.c +++ b/src/registry/registry_db.c @@ -162,7 +162,7 @@ int registry_db_save(void) { fclose(fp); - errno = 0; + errno_clear(); // remove the .old db netdata_log_debug(D_REGISTRY, "REGISTRY: Removing old db '%s'", old_filename); |