From 4aa84abba5e482cbc60884847171d4a5c7422f77 Mon Sep 17 00:00:00 2001 From: Kano Date: Fri, 18 Oct 2013 10:30:16 +1100 Subject: [PATCH] bflsc - fix brackets so [Chips] isn't always null --- driver-bflsc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/driver-bflsc.c b/driver-bflsc.c index a00b04a2..3d34f833 100644 --- a/driver-bflsc.c +++ b/driver-bflsc.c @@ -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); }