Skip to content

Commit

Permalink
fix typo in comment
Browse files Browse the repository at this point in the history
left over from copy/pasted code.
  • Loading branch information
sni committed Oct 13, 2023
1 parent 660bd29 commit 83b25ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/naemon/objects.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ int fcache_objects(char *cache_file)

result = OK;

/* move the temp file to the status log (overwrite the old status log) */
/* move the temp file to the objects data file (overwrite the old objects.cache) */
if (my_rename(tmp_file, cache_file)) {
unlink(tmp_file);
nm_log(NSLOG_RUNTIME_ERROR, "Error: Unable to update cache data file '%s': %s", cache_file, strerror(errno));
Expand Down

0 comments on commit 83b25ec

Please sign in to comment.