A second-order hadronic phase transition