Rename BAD to BAD_DATA since the first is already defined on SunOS.