config.c: fix accuracy of line number in errors