Fix an error log message.