diff --git a/coreapi/lpconfig.c b/coreapi/lpconfig.c index 285680114..0f5e396a9 100644 --- a/coreapi/lpconfig.c +++ b/coreapi/lpconfig.c @@ -743,7 +743,7 @@ void lp_section_write(LpSection *sec,LpConfig *lpconfig){ if (bc_file_fprintf(lpconfig->pFile, 0, "]\n")< 0) ms_error("lp_section_write : write error "); ms_list_for_each2(sec->items, (void (*)(void*, void*))lp_item_write, (void *)lpconfig); - if (bc_file_fprintf(lpconfig->pFile, 0, "\n")< 0) ms_error("lp_section_write : write error on %s"); + if (bc_file_fprintf(lpconfig->pFile, 0, "\n")< 0) ms_error("lp_section_write : write error"); }