Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 344659 | Differences between
and this patch

Collapse All | Expand All

(-)openjdk/hotspot/src/os_cpu/linux_sparc/vm/vm_version_linux_sparc.cpp.orig (-1 / +1 lines)
Lines 35-41 Link Here
35
  }
35
  }
36
36
37
  while (!feof(fp)) {
37
  while (!feof(fp)) {
38
    if (fscanf(fp, "cpu\t\t: %100[^\n]", &cpu) == 1) {
38
    if (fscanf(fp, "cpu\t\t: %100[^\n]", &cpu[0]) == 1) {
39
      if (strstr(cpu, "Niagara") != NULL) {
39
      if (strstr(cpu, "Niagara") != NULL) {
40
        rv = true;
40
        rv = true;
41
      }
41
      }

Return to bug 344659