Browse Source

bflsc - fix brackets so [Chips] isn't always null

nfactor-troky
Kano 11 years ago
parent
commit
4aa84abba5
  1. 3
      driver-bflsc.c

3
driver-bflsc.c

@ -658,9 +658,10 @@ static bool getinfo(struct cgpu_info *bflsc, int dev) @@ -658,9 +658,10 @@ static bool getinfo(struct cgpu_info *bflsc, int dev)
free(tmp);
goto mata;
}
}
else if (strstr(firstname, BFLSC_DI_CHIPS))
sc_dev.chips = strdup(fields[0]);
}
freebreakdown(&count, &firstname, &fields);
}

Loading…
Cancel
Save