A patient with severe arthritis of the hip and shortening of the ipsilateral extremity undergoes hip replacement surgery with correction of the limb-length discrepancy. At the time of the postoperative examination, he is found to have a complete foot drop.