< prev index next >
src/java.desktop/unix/native/libawt/awt/awt_Mlib.c
Print this page
@@ -58,17 +58,17 @@
static int s_verbose = 1;
mlib_status ret = MLIB_SUCCESS;
struct utsname name;
/*
- * Find out the machine name. If it is an SUN ultra, we
+ * Find out the machine name. If it is a SUN ultra, we
* can use the vis library
*/
- if ((uname(&name) >= 0) && (getenv("NO_VIS") == NULL) &&
- (strncmp(name.machine, "sun4u" , 5) == 0) ||
+ if ((uname(&name) >= 0) && (((getenv("NO_VIS") == NULL) &&
+ (strncmp(name.machine, "sun4u" , 5) == 0)) ||
((strncmp(name.machine, "sun4v" , 5) == 0) &&
- (getenv("USE_VIS_ON_SUN4V") != NULL)))
+ (getenv("USE_VIS_ON_SUN4V") != NULL))))
{
handle = dlopen(JNI_LIB_NAME("mlib_image_v"), RTLD_LAZY);
}
if (handle == NULL) {
< prev index next >