San Francisco reliever Sandy Rosario earned a win Friday after taking a line drive to the chest Thursday. He pitched two scoreless innings of relief with a bruised sternum in the Giants' 14-10 win against the Marlins.