common: change fscanf to fgets

No match.