Forgotten printf refactoring