SECOND AMENDMENT AND WAIVER TO REVOLVING CREDIT AGREEMENT