diff --git a/src/database/files.c b/src/database/files.c index 6c75406..1795260 100644 --- a/src/database/files.c +++ b/src/database/files.c @@ -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; }