Fix error functions. Error prototype.