fix: add missing error format parameters
This commit is contained in:
parent
2786a642c4
commit
9f0665ce64
@ -252,12 +252,12 @@ bool lm_database_files_del(lm_database_t *db, lm_entry_t *entry){
|
||||
join(temp_path, db->dir, temp_name);
|
||||
|
||||
if(NULL == (original = fopen(real_path, "r"))){
|
||||
lm_error_set(LM_ERR_DbFilesOpenFail);
|
||||
lm_error_set(LM_ERR_DbFilesOpenFail, real_path);
|
||||
goto end;
|
||||
}
|
||||
|
||||
if(NULL == (temp = fopen(temp_path, "a"))){
|
||||
lm_error_set(LM_ERR_DbFilesOpenFail);
|
||||
lm_error_set(LM_ERR_DbFilesOpenFail, temp_path);
|
||||
goto end;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user