Change an function macro for ERR match the function it's used in.