fix: add missing error format parameters

This commit is contained in:
ngn 2024-08-15 23:50:27 +03:00
parent 2786a642c4
commit 9f0665ce64

View File

@ -252,12 +252,12 @@ bool lm_database_files_del(lm_database_t *db, lm_entry_t *entry){
join(temp_path, db->dir, temp_name); join(temp_path, db->dir, temp_name);
if(NULL == (original = fopen(real_path, "r"))){ if(NULL == (original = fopen(real_path, "r"))){
lm_error_set(LM_ERR_DbFilesOpenFail); lm_error_set(LM_ERR_DbFilesOpenFail, real_path);
goto end; goto end;
} }
if(NULL == (temp = fopen(temp_path, "a"))){ if(NULL == (temp = fopen(temp_path, "a"))){
lm_error_set(LM_ERR_DbFilesOpenFail); lm_error_set(LM_ERR_DbFilesOpenFail, temp_path);
goto end; goto end;
} }