changed printf warning to XLAL_PRINT_WARNING