fix mistake
This commit is contained in:
parent
6fa4102e0c
commit
1fd7dc5230
@ -272,7 +272,7 @@ void update_config_file_area(int areaid) {
|
||||
int id;
|
||||
int i;
|
||||
|
||||
snprintf(backup, "%s.bak", config_file);
|
||||
snprintf(backup, PATH_MAX, "%s.bak", config_file);
|
||||
fptr1 = fopen(config_file, "r");
|
||||
fptr2 = fopen(backup, "w");
|
||||
|
||||
|
Reference in New Issue
Block a user