Typo in fprintf(f)