elliminte gcc warning on fprintf