Fix an incorrect error message.